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 / devi

Set b=description.Create
b("micclass").value="Browser"
Set obj=desktop.ChildObjects(b)
msgbox obj.count
'browser("CreationTime:=4").close
For i=0 to obj.count-1
msgbox i
c=obj(i).getroproperty("name")
msgbox c

Next

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

2134


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1882


What are the automation metrice in your project?

2231


What is the difference in the global and action sheet in qtp?

953


What are the types of environment variables in qtp?

983


Explain about the quicktest professional (qtp) automation object model?

942


How to associate function library at a run time?

1077


How many types of recording modes in qtp?

993


what is supply chain management?

2523


Define Canvas view of UFT?

1001


Explain how Selenium is different from UFT?

1160


What is the recovery scenario in qtp?

986


What are the properties you would use for identifying a browser and page when using descriptive programming?

969


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1952


Can we run multiple QTP scripts one after the other without manual intervention? How?

994