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)

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

tell me QTP standards ?plz

1510


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

1479


What is the difference between the design-time and run-time data tables?

552


how do i know how to use tools

1441


What will be happen if i load object repository at run time, but it has already associated.

1254






How to test results for qtp ?

780


I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

1510


How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

1500


Explain the types of properties that quick test learns while recording?

552


Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..

1511


How will internal and external links be validated and updated? how often?

637


What is checkpoints for quicktest professional?

543


How does qtp identify the object in the application?

529


What are the types of object repositories? Which one is you using?

614


Why is Client side image is preferred over server side image?

1435