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

hai, i am doing QTP by own. So, i am confident in
checkpts,synchronization, data driven test, recovery
scenarioe manager etc. but actually i don't know how all
these we wil implement while we r writting code manually.
when we r doing practice, while recording code is
automatically generated but in real time i heard that we
have to write the script.But i don't know how it is?
How to write descriptive prog.? plz. tel me what r the
basic things we have to know? explain how to write
descriptive prog.? explain me with an example pls.......

Answer Posted / priya

Hi,
Descriptive programming means providing description of
objects in the script itself to identify the objects.
we will write DP in 2ways.
1.by using properties collections
2.by using Description.create
example:
Dialog("text:=login).winedit
("attachedtext:=username").set "xxxx"
dialog("text:=login").winedit
("attachedtext:=password").set "yyyy"
Dialog("text:=login").winbutton("text:=ok").click

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Test the mainframe application?

2362


Without using gui map editor we can recognize the application in winrunner ?

1052


What is the differences between image check point and bit map check point?

1070


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3504


How the exception handling can be done using quicktest professional (qtp)?

1104


Are Shared ORs read-only?

1065


When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.

2090


Explain actions in qtp ?

971


Can I change properties of a test object?

1138


How to create a standard checkpoint ?

1071


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

2111


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

2095


Why do we use breakpoints in QTP?

1057


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2401


How to test login module with different username and password by using data driven testing in QTP?

1151