Write a Script With descriptive programming(Without
Repository) to update an
Update an order in Flight App and verify whether it is done
successfully.(Use ChildObjects method)
Answer Posted / geetha
Set oW = description.create()
oW("micClass").value = "Window"
Set oB=description.create()
oB("micClass").value = "Button"
Set objs_child = window(oW).ChildObjects(oB)
For i=1 to objchild.count-1
If objs_child(i).getRoproperty("text")= "Update Order" Then
objs_child(i).click
Exit for
End If
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can I change properties of a test object?
how to acess a test in RSA?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
How to handle Java tree in QTP?
what are all the fileds present in object repository?
What is a reusable action?
How do you create regression test packs?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
How will you find the current time of the remote machine using QTP script?
write the vb script for call to new action in qtp?
How to analyzing the checpoint results?
How many types of object repository in qtp?
What is difference between shared and local object repository?
What are the different recording modes and how do they work?