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

Hai anyone please "Explain about Framework in QTP?"

2161


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

2057


Explain xml checkpoints.

1126


how to do the batch testing in test director using manual testing procedure?

2371


What is the use of an object spy tool in qtp?

1012


what type of run time errors you get while you ar edoing rpg program?

1960


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

2236


What is the qtp testing process?

1035


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

2061


What is an expert view and keyword view?

1112


There is an excel file of 1 to 100 sheets how you will iterate through it?

995


How will you compare keyword and expert view?

933


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1974


unique properties of button,edit box, radio button,check box?

4499


What is the difference between call to existing action and copy of an action?

1091