11-12-2009, 04:43 AM
I am just getting a hang of using functions and am very successful with the basic stuff.
Checkpoints:
Code example:
a.
a. I would be able to click on each line in keyword view and insert a check point.
b.
I am unable to do that within this function.
Public Function Login(ByRef Username, ByRef password)
b.
End Function
How else can i still setup checkpoints. I also tried putting checkpoints within the code of my function. I didn't think that was correct either.
This has be something simple that i am not getting. So any help would be great for me to progress in my process.
Thanks,
rd
Checkpoints:
Code example:
a.
Code:
Browser("Login").Page("Login").WebEdit("_email").Set "User@email.com"
Browser("Login").Page("Login").WebEdit("_password").Set "mypassword"
Browser("Login").Page("Login").WebButton("Log In").Click
a. I would be able to click on each line in keyword view and insert a check point.
b.
I am unable to do that within this function.
Public Function Login(ByRef Username, ByRef password)
b.
Code:
Browser("Login").Page("Login").WebEdit("_email").Set username
Browser("Login").Page("Login").WebEdit("_password").Set password
Browser("Login").Page("Login").WebButton("Log In").Click
End Function
How else can i still setup checkpoints. I also tried putting checkpoints within the code of my function. I didn't think that was correct either.
This has be something simple that i am not getting. So any help would be great for me to progress in my process.
Thanks,
rd