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
what is the difference between IE & Netscape in web testing on a log in page
what is keyword driven testing in qtp?n how is it useful?
what type of run time errors you get while you ar edoing rpg program?
How to find Operating system information using QTP script?
write the vb script for call to new action in qtp?
Give the syntax to load function at run time.
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
What are the technics follow in writing VB script?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
how to convert 100 into hundred repees only and viceversa
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
How does qtp identify gui object?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com