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

How to replay a script in qtp?

1093


distinguish between old version and new version QTP features.

2350


how can we preform retesting(DATA driven test) using function please gine the code for loginpage

2902


How can you exit from an action?

1068


They asked by using qtp recording writing scripting

2575


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

1020


What are the trigger events in qtp?

1134


Which environments does qtp support?

1104


How to export quicktest professional results to an .xls file?

1174


How you are developing the script? Using record and play back or manual?

1070


Define Error Pane of UFT?

1117


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1873


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

2023


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

2160


What is expert view and keyword view?

1131