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 / ravi

It is something like instructing the QTP to perform
operations on objects without refering to the Object
Repository. To do this we provide QTP with a list of
properties and Values that QTP can use to identify the
Object on which we want to perform the operations.

There are basically 2 ways

1. We can list the set of properties and Values that
describe the object directly in the statement

Propertyname:=Property Value, --------, PropertynameN
N:=PropertynameN

2. Using Descriptive Object:

Here we do create a Descrition Object and add the property
name and it's Valuse to the Description Object. We pass
this description object to the QTP statement.

Set < Var name > = DESCRIPTION. CREATE

< Desc OBJ / Var Name >.
(<"Propertyname1">.value=<propertyvalue1>

- If we want to add more more properties we have the follow
the above
---
---
---
< Desc OBJ / Var Name >.
(<"PropertynameN">.value=<propertyvalueN>

Is This Answer Correct ?    19 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to record a qtp script ?

985


What is the registration process and examination fees?

1004


What is test object model in quicktest professional?

1035


who QTP recognizes the object stored in object repository?

2036


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

1001


How to change the priorities of the recovery scenario properties?

1097


How do you delete unwanted results in qtp?

1068


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

2043


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

1038


How to analyzing test results using quicktest professional (qtp)?

989


What is the basic concept of qtp?

961


What is an expert view and keyword view?

1051


Can we create user defined functions in qtp?

951


what are the mandatory properties for a tex boxc (scenario?)

1950


Tell me one scenario, the complex functionality you have automated in your project?

1923