06-24-2011, 05:59 PM
(This post was last modified: 06-24-2011, 06:03 PM by Unleash Rajesh.)
Hi..
How to enter login details using descriptive programming?
Login page contains E-mail and Password with Login button...
I used 2kinds of code..Both throws an error
One,
and another
Plz help me out....
How to enter login details using descriptive programming?
Login page contains E-mail and Password with Login button...
I used 2kinds of code..Both throws an error
One,
Code:
Dim webobj
set webobj = Description.Create()
webobj("Name").Value = "E-Mail"
webobj("Index").Value = "3"
Browser("SAMPLE").Page("Login").WebEdit(webobj).Set "a@a.a"
Code:
Browser("Title:= SAMPLE").Page("Title:= Login").WebEdit("Name:= E-Mail", "Index:=3").Set "a@a.a"
Plz help me out....