What is deference between normal QTP testing and
descriptive programming?

Answer Posted / nanda

i think ur question might be difference between actual
programing and descriptive programming in QTP? if it is ur
question...

when u r writing script in QTP u should store all the
objects in Object Repository.
for example:
Browser("XXX").Page("XXX").WebEdit("XXX").Set "XXX"

here the browser, page, WebEdit objects should be stored
in Object repository. then only it works, else it wil throw
an error.
when u store objects in OR, some of the properties of
that object will store in OR to identify that object.

but in descriptive programming no need to store objects in
OR. it means writing and executing ur scripts with out using OR.

for example:

Browser("Name:=XXX").Page("Title:=XXX").WebEdit("name:=XXX").Set
"sss"

here the properties of objects are throwed in to script. so
no need to store those object OR.

still not getting? mail to : nanda.dreddy@gmail.com

Regards..
Nanda

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Plz Explain AUTOMATION REFERENCE MODEL?

1869


If I change the object name in one action will it be updated in all the actions? Or not?

797


What is active screen?

709


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

1585


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1920






What are the key elements available in test result window?

842


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

1679


To which environments does quicktest professional supports?

726


How to change the priorities of the recovery scenario properties?

805


How would you directly trigger javascript in a test?

1636


What are the ordinal identifiers in web page?

814


What is the use of sendkeys and what are send keys

2162


How do you know the location Id of an object if you know its index id?

770


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

2100


How to creating an output value using quicktest professional (qtp)?

751