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

How to save your test using quicktest professional (qtp)?

0 Answers  


In a shared Object Repository in QTP if some object is changed how can the other script which is using the same object can be known

6 Answers   iGate,


can any body give the banking domain concepts/links

0 Answers  


what is functions in qtp?i know the userdefind &bulit funation or i know that Private public function ?plz tell me what is funations in qtp?how to create a funation in qtp

4 Answers   NIIT,


How to Test the mainframe application?(tell me few basic things)

1 Answers   Covansys, IBM, UST,






what is the advatages of merging of object repositories in Qtp9.0

3 Answers   TCS,


what is the test object?

1 Answers  


How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?

1 Answers  


Explain synchronization types in QTP

2 Answers  


types of output value in details.

4 Answers  


why require regression testing?

2 Answers   TCS,


Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?

2 Answers  


Categories