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
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
How do you send email with attachment from outlook using qtp ?
Explain about datafile/verification of date file when file is not available in local system?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
How to suppress warnings from the test results page?
Who uses qtp tool?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
what is clean sweep?
How to save your test using quicktest professional?
What is the file extension of the code file in qtp?
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
what is keyword driven testing in qtp?n how is it useful?
What is quick test pro?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.