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
How to record a qtp script ?
What is the registration process and examination fees?
What is test object model in quicktest professional?
who QTP recognizes the object stored in object repository?
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
How to change the priorities of the recovery scenario properties?
How do you delete unwanted results in qtp?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
How to analyzing test results using quicktest professional (qtp)?
What is the basic concept of qtp?
What is an expert view and keyword view?
Can we create user defined functions in qtp?
what are the mandatory properties for a tex boxc (scenario?)
Tell me one scenario, the complex functionality you have automated in your project?