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

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


Please Help Members By Posting Answers For Below Questions

Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1864


Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

1821


When should I use smart identification?

1060


Explain the concept of object repository and how quicktest professional recognises objects?

972


Explain how qtp identifies object?

1036


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

2045


How did you resolve conflicts present in Object Repository?

2072


Explain the concept of object repository and how QTP recognizes objects?

992


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.

2540


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

2108


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

1008


How many types of run modes are there in qtp?

989


what function you write to do database testing with the help of qtp?

1783


In qtp, explain what is qrs file?

1028


How can you identify the browser and its information using the qtp script?

965