Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How may types of defects identify application or your currently working application?pls give me answer..

1995


What is an optional step in qtp ?

1165


What is Associate Repository in QTP 9.2 ?

1010


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.

2046


What is the default object synchronization timeout in qtp?

1211


How to handle the exceptions using the recovery scenario manager in qtp?

1023


What do you mean by iteration?

1188


What are the different types of recording modes?

1008


If I change the property value at runtime is it effect is object repository?

1069


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

1079


Explain process of smart Identification in QTP?

1035


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.

1755


Generic function to search for the unique link in webtable and click on it

3047


How can you write the scripts that operate on different objects depending on run-time information?

2563


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

1756