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 Virtual Object? Plz Explain me with an example?
How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance...
how can i call reusable action in a function could any one explain me?
I want to run my qtp scipt on the system where qtp is not installed .I don't want to install qtp but i want that system should use the qtp from another system in lan just the qtp instance should be launched on that system without having qtp installed on it .I probably know the solution that it will be solved through RMI but how to get this problem solved plz help i anyone know the answer
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
what is the difference between link and hyper link?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
What is the new version of qtp which is recently released in the market?
how do you remove object repository at runtime and load object repository and verify it
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
What is the difference between Global and Local Data Sheets?
how to lunch the application in the qtp tool ?