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

Answer Posted / pavan

Descriptive Programming is the way of instructing QTP to
identify the objects without object repository.

It can be done as follows:

Example 1: Browser("title:= < title of the browser> ").Page
("title:= < title of the page> ").frame("name:= <name of
the frame>")....

Example 2: vbwindow("title: <title>").vbedit("attached
text:=username").set "name"

etc....

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is QTP’s model for test creation?

683


Explain how Selenium is different from UFT?

697


Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

563


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

595


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1434






I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.

1747


How do you test DLL files using automation Tool QTP?

2739


what is the difference between data driver & data driven and driver script?

2143


Is it possible to change the property value at runtime? How it is possible?

576


What are the main differences of qtp and win runner?

598


How QTP support all types of applications (platforms)?

4083


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

1518


What is fragmentation and paging?

1594


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

1477


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1591