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 analog and low level recording?
How many lines of code in each script of QTP?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
what is the frame work in J-meter?
Write a QTP script to enter a keyword in to Google search engine?
what is the difference between modular framework & datadriven framework
If object is not recognized by qtp but the object is standard object what is your approach?
How you can decide which type of object repository you have to use?
Whether qtp 9.0 supports Test director8.0
• What type of testing questions will be asked for 2+ yrs exp people in interview?
How many add-ins comes by default with quicktest professional?
Explain the parameter in qtp?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
can u explain relative path architecture framework in qtp?
what is run-time data?