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
when a test case is written how u test using qtp
How does quicktest professional (qtp) identifies the object in the application?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
How to associate shared object repository to test in qtp?
Suppose I want fail that check point? How can you do that?
Explain the types of object repositorys in qtp?
How software tester can use constants and variables in scripts?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
How to run a test using quicktest professional (qtp)?
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
Can we write winrunner language i.e TSL in QTP tool?
What is a Patch in QTP?