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

what is Property......End Property loop? how to write sript for it in QTP

2385


How can I change object description or check point values in qtp?

1010


What is business process testing(bpt) in qtp?

1133


what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?

1889


how to test Web application using QTP software

1786


What are the Test design techniques you uses in ur project?

1956


Have you done batch testing in qtp? If yes how you are doing?

919


Limitations in QTP?

2149


Define Error Pane of UFT?

1109


What are the different types of action?

984


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

2325


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

1038


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

2103


Where to use Property Let, Property Get, Property Set in UFT

821


How software automation specialist enter steps in the Expert View?

2131