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 get all the objects count and objects names in
webpage using QTP ?

Answer Posted / chivukula.kumar

Hi Chandu,

ChilObjs=Browser("BrowserName").Page
("PageTitle").Childobjects
tol=Chilobj.count

for i = 0 to UBound(tol)

a =chilObjs(i).Name
print a

Next

Is This Answer Correct ?    3 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of recording modes in qtp? Which will be used when?

1018


What is expert view in qtp?

1014


Can we write winrunner language i.e TSL in QTP tool?

1947


What is a data driven test in qtp?

982


Define virtual object?

1092


Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1751


What is meant by Output Value in UFT?

1123


Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

993


How do Parameterization and Data-Driving relate to each other in QTP?

1036


In qtp, how you can get the last character from a string?

972


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

3483


What is the difference between Keyword Driven test and Data Driven test?

2195


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

2086


what is error and fault in terms of software quality?

1935


hi nani my doubt is how does qtp process metrix related to software process.

1939