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...

what is descriptive programming in QTP? How can be done?

Answer Posted / vishakhab

Similar way,
for web programming:
suppose you are testing: Google Sign up page.
"https://www.google.com/accounts/NewAccount?"
To recognize the Text box: "Your current email address:"
The follow statement:
Browser("Google Accounts").Page("Google Accounts").WebEdit
("name:=Email","id:=Email").Set "vishakhavijay23@yahoo.com"

won't work without defining the object in the repository.

You need to modify the above statement as:
set emlTxt=Browser("Google Accounts").Page("Google
Accounts").WebEdit("name:=Email")
emlTxt.Set "vishakha@yahoo.com"

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)

2167


What is a recovery scenario?

1153


when u script reveiwing in which area u more concentrates?

1891


How does you test a weblink which is changing dynamically?

1005


How many types of actions are there in quicktest professional (qtp)?

964


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1843


How to interact tool & application build in QTP?

1945


What is system testing and what are the different types of tests you perform in system testing?

1157


What are the factors on which script execution time is dependent?

1060


What are some test assets and related extensions of qtp?

1029


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

2376


How to suppress warnings from the test results page?

1031


Does Low-level recording capture mouse movements?

1041


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1868


How you can make an action as re-usable action?

1127