what is descriptive programming in QTP? How can be done?
Answer Posted / babu
Hi,
I had gone through the answers provided all of you. I had
written the script by passing the property, value of the
objects using descriptive programming as it mentioned above.
Process what i followed is:
1)recorded the script.
2)take some object and remove the same from object
repository and add property,value of that removed object in
the script.
3)run the script.
It is displaying the message that object can't be find in
the object repository.
ex:Dialog("Login").WinEdit("Name:=Agent Name:","attached
text=Agent Name:").Set "xxxx".
I removed Agentname from the object repository.
While running i am getting the error that the object Agent
name is not able to find in object repository.
Help me out what mistake i made when writing descriptive
programming.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
What is Cross browser testing? Does UFT support it?
How many types of trigger events are there in qtp?
What is test object model in quicktest professional (qtp)?
How to handle the exceptions using recovery secnario manager in quicktest professional?
What are the advantages of qtp?
Can launch two instances of qtp on the same machine?
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
What are the different types of qtp test assets and their extensions?
If created one virtual object? Next time I changed the window position will it work?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
What is an expert view and keyword view?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
Explain measuring transaction.