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
Explain the checkpoint in qtp?
What is the quicktest professional (qtp) testing process?
Explain hybrid framework with advantages and disadvantages?
How to execute a winrunner script in quicktest professional (qtp)?
what is Property......End Property loop? how to write sript for it in QTP
What is action split and the purpose of using this in qtp?
Explain different checkpoints in qtp.
How many types of actions are there in quicktest professional (qtp)?
When to use shared and local object repository?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
how do i know how to use tools
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
What is Associate Repository in QTP 9.2 ?
How can you send user defined messages to test report?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.