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...

how to identify the objects if application consists of objects
that have same properties.

Answer Posted / nitin sharma

suppose your object name is "obj"
then write this script

set "obj"=Description.Create()
obj("property").value=Class of object

set a=browser("browser").page("page").childobject(objectname)
msgbox a.count

For i=0 to a-1
DataTable.SetCurrentRow(i+1)
DataTable("URL",dtGlobalSheet)=a(i).getroproperty("url")
Next

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how you can find length of array in qtp?

1057


explain how to write vb script in qtp?when will you write own script?

2295


How to export quicktest professional (qtp) results to an .xls file?

1166


Does quicktest professional is unicode compatible?

936


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2820


What is the difference between a Function and Action in QTP?

1080


How do you create new test sets in td?

1048


How to capture a window in QTP?

1963


What is parameter in qtp?

1062


Is it possible to merge two object repository files in qtp?

1169


can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

2096


How to use setroproperty?

995


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1940


What are the main differences of qtp and win runner?

1127


How many types of Automation frameworks are there in UFT? Describe them.

1015