Write Descriptiv prg 4 login
logn....txt bx
password---txt bx
ok---btn
Answer Posted / sirisha
//Dynamic Representation of Descriptive progrmming for Gmail
Login Page//
Dim ObjBr,ObjPg,ObjLogin,ObjPword,ObjOk
Set ObjBr=description.create
ObjBr("name").Value="Gmail:Email from Google"
Set ObjPg=Description.create
ObjPg("Title").value="Gmail:Email from Google"
Set Objlogin=Description.create
objlogin("name").Value="Email"
Set ObjPword=Description.create
ObjPword("name").value="Password"
Set ObjOk=Description.create
ObjOk("name").value="Ok"
Browser(Objbr).Page(ObjPg).WebEdit(ObjLogin).Set"Sireesha"
Browser(Objbr).Page(ObjPg).WebEdit(ObjPword).Set "myname123"
Browser(Objbr).Page(ObjPg).WebButton(ObjOk).Click
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How may types of defects identify application or your currently working application?pls give me answer..
What is an optional step in qtp ?
What is Associate Repository in QTP 9.2 ?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
What is the default object synchronization timeout in qtp?
How to handle the exceptions using the recovery scenario manager in qtp?
What do you mean by iteration?
What are the different types of recording modes?
If I change the property value at runtime is it effect is object repository?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
Explain process of smart Identification in QTP?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
Generic function to search for the unique link in webtable and click on it
How can you write the scripts that operate on different objects depending on run-time information?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process