Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Can I change properties of a test object?

1081


how to acess a test in RSA?

2162


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

2060


How to handle Java tree in QTP?

1258


what are all the fileds present in object repository?

1984


What is a reusable action?

943


How do you create regression test packs?

1119


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

969


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

914


How will you find the current time of the remote machine using QTP script?

1003


write the vb script for call to new action in qtp?

2236


How to analyzing the checpoint results?

984


How many types of object repository in qtp?

1037


What is difference between shared and local object repository?

1066


What are the different recording modes and how do they work?

1031