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
unique properties of button,edit box, radio button,check box?
Can you write a script to check if the folder exists or not?
How to carry out bit map check points in QTP
What is the extension of qtp local repository?
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
What is a data driven test in qtp?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
can u explain relative path architecture framework in qtp?
How you can find length of array in qtp?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
What is the script for database check point, bitmapchek point, regular expression ?
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
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
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company