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)
Answers were Sorted based on User's Feedback
Answer / pallavi
set objdesc=description.create
objdesc("property").value="description"
objdesc("property").value="description"
objdesc("property").value="description"
objcoll=dialog().childobjects(objdesc)
for i=0 to objcoll.count-1
if objcoll(i).getroproperty("property")="description"
objcoll(i).click
exit for
endif
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
What is wrong in my code?
How to convert QTP's ObjectRepository.mdb file to xml file
What are the technics follow in writing VB script?
What are the advantages of qtp?
How to handle the exceptions using recovery secnario manager in quicktest professional?
how to post xml data from QTP scripts to any application?
How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint)
I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can give script for this scenario?
what does it mean when a check point is in red color? what do u do?
How software automation specialist enter steps in the Expert View?
how do you remove object repository at runtime and load object repository and verify it
What are the check points can be inserted without recording?