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 |
Can I import a excel sheet in Action1 datatable? How?
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
where the check points are stored ?
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?
how to reverse the string without using bultin functions(i.e mean mid,len ,reverse functions)
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 .
How do we connect QC by using QTP?
what are the drawbacks for record and payback in qtp
How to export QTP results to an .xls file?
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.......
what is difference normal,analog,low level recording in qtp? what is lowlevel recording?
What are the views available in quicktest professional?