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



Write a Script With descriptive programming(Without Repository) to update an Update an order in F..

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

Write a Script With descriptive programming(Without Repository) to update an Update an order in F..

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

Post New Answer

More QTP Interview Questions

What is Virtual Object? Plz Explain me with an example?

2 Answers   Ordain Solutions,


How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance...

2 Answers   Navis,


how can i call reusable action in a function could any one explain me?

2 Answers   Livetek,


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

4 Answers   Cimcon,


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

0 Answers  






what is the difference between link and hyper link?

1 Answers   Ordain Solutions,


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.

0 Answers  


What is the new version of qtp which is recently released in the market?

0 Answers  


how do you remove object repository at runtime and load object repository and verify it

2 Answers   Thomson Reuters,


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?

0 Answers  


What is the difference between Global and Local Data Sheets?

1 Answers  


how to lunch the application in the qtp tool ?

3 Answers  


Categories