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 many types of recording modes in the 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 output value? How many types of output values are there in qtp?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
What is the use of text output value in quicktest professional (qtp)?
How to customize checkpoints with parameters?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
What are the features and benefits of quick test pro (qtp 8.0)?
Discuss the QTP Environment?
What is checking bitmaps?
What is the difference between a Function and Action in QTP?
How to handle Java tree in QTP?
How do you delete unwanted results in qtp?
Does quicktest professional is unicode compatible?