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 action split and the purpose of using this in qtp?
What are the views available in qtp?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
What is qtpro?
How smart identification works in qtp ?
What are the factors on which script execution time is dependent?
What Folder Structure following in Keyword Driven Frame work?
In Remote acess server how u run a test?
Can you brief the hurdles you faced during Automation testing?
What is the difference between byref and byval in qtp?
Explain in brief about the quicktest professional (qtp) automation object model?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
Give the syntax to load function at run time.
what is supply chain management?
How to use the object spy in quicktest professional (qtp) 8.0 version?