what is descriptive programming in QTP? How can be done?
Answer Posted / john
There are two ways, QTP uses to recognize the objects
present in your application.
1. Object Repository (OR)
2. Descriptive Programming (DP)
First let see how OR works. OR is the simple and default way
of object identification in QTP. OR stores groups of
properties and values of every object. While you record on
application, all the objects you click, are stored in Object
Repository.
During the play back QTP use this OR to identify the object
on which the action is to be performed.
What is Descriptive programming (DP)?
We'll use DP when we want to bypass OR. Descriptive
programming is used when we want to perform an operation on
an object that is not stored in the object repository. This
way QTP won’t search....
For full article, refer below link..
http://qtpschools.blogspot.com/2011/03/descriptive-programming-part-1.html
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
When should I use smart identification?
Explain the concept of object repository and how quicktest professional recognises objects?
Explain how qtp identifies object?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
How did you resolve conflicts present in Object Repository?
Explain the concept of object repository and how QTP recognizes objects?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
How many types of run modes are there in qtp?
what function you write to do database testing with the help of qtp?
In qtp, explain what is qrs file?
How can you identify the browser and its information using the qtp script?