How to get all the objects count and objects names in
webpage using QTP ?
Answer Posted / chandu
u can count the objects in a webpage by using childobjects
method
set childobjs=Browser("BrowserName").Page
("PageName").childobjects
total=childobjs.count
msgbox total
n i don't know how to get the names...sorry..if u know
plese let me know
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
How you create new action in qtp?
In qtp, how you can exit for loop?
Where can I find and view run-time data table?
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
Is the qtp course will help to create a virtual object?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
Explain the views in the QTP GUI?
What is output value? How many types of output values are there in qtp?
Write a script to verify font style and color of a windows object using descriptive programming
What are the types of object repositories? Which one is you are using?
What does mean by Scope of Automation?n How we defined it?
How to export quicktest professional results to an .xls file?
how to evalute defects in QTP script?
How to attach a file to TD?
What is post recovery scenario?