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

Step 3&4 are repeated until an the object in recognised uniquely.

1514


When to use descriptive programming?

582


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

1450


Give the syntax to import/export xls into qtp.

580


How to get the particular property value?

603






How does quicktest professional (qtp) identifies the object in the application?

576


Explain the checkpoint in qtp?

583


What are the different types of recording modes?

524


What is action? How many types of actions are there in qtp?

607


What is keyword driven framework?

606


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

1601


distinguish between old version and new version QTP features.

1854


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2791


Is it possible to use two instances of UFT on the same machine? If not why?

588


Explain the difference between call to action and copy action?

510