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

Can I import a excel sheet in Action1 datatable? How?

2 Answers   IBM,


if we can find the status of script in qtp that either it's pass or fail then why we need to put this status on different excel file or log file in hybrid framework .please let me know asap thanks

1 Answers   iCreate,


where the check points are stored ?

3 Answers   IBM,


Scenario:2 combo boxes.1st combo contains a,b,c,d.2nd combo contains 10..20,20..30,30..40,.Selecting 'a' shld display 10...20,'b' shld display 20..30.. and so on.tell d script? 2.Random testing of 500 test cases in qtp?

1 Answers  


how to reverse the string without using bultin functions(i.e mean mid,len ,reverse functions)

6 Answers   GE,






I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

0 Answers   Livetek,


How do we connect QC by using QTP?

2 Answers   Infosys,


what are the drawbacks for record and payback in qtp

3 Answers  


How to export QTP results to an .xls file?

10 Answers   IBM,


How to insert screenshot on to the body of outlook? -1 how to use insert-picture tab in new email outlook to insert image in the body. Suggest something.......

1 Answers  


what is difference normal,analog,low level recording in qtp? what is lowlevel recording?

2 Answers   JPMorgan Chase,


What are the views available in quicktest professional?

0 Answers  


Categories