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 the use of sendkeys.In which cases we Use this sendkey.Pls explain with example.
what is smart identification in qtp? pls any give details? thanks in advance
Have you used xml check point in your project? How?
For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).
Hi,All How to create a link in excel sheet using qtp
hi guys, could you please prepare script for given format ? 1,1,2,3,5,8,13,21,...etc use vbscript for this...?
why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all..
How you automate test scripts
What is the process of synchronizing qtp and aut?
How to analyzing test results using quicktest professional?
Does quicktest professional is unicode compatible?
give me descriptive programing code sample flight application in qtp?