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

How to start recording using quicktest professional?

1245


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1814


How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric

2123


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

1136


How to test results for qtp ?

1313


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

7670


How do I get the QTP scripts result in xml format by using vb script function?

2334


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

2139


After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.

7609


What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?

1115


What is use of object spy?

1145


What Folder Structure following in Keyword Driven Frame work?

2824


In qtp, explain what is keyword driven automation framework?

1105


Both static and dynamic arrays are handled by the vb script. Is it true?

1079


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

2112