how to display all the links in one page using vb script in qtp.
Answer / sowmya
We can use the page check point to display the number of
links in a web page
or
we can create the child object
set objlink=description.create()
objlink ("micclass").value='weblink'
set odesc=browser("browser").page("browser").childobject
(objlink)
numberoflinks=objlink.count
msg numberoflinks
i think it should work.....
| Is This Answer Correct ? | 7 Yes | 4 No |
What are class events?
Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
What are class variables?
write a qtp script to count the number of minimized windows
Diff between web table ,datatable and data base (QTP)
Which event is triggered when mouse focus comes out of an element in the vbscript language?
Is VBscript case-sensitive?
Explain the difference between POST and GET Method.
How regexp.execute method works?
what does create object actually do when you call it in vbscript?
How to return only alpha bate string from an string str = "bibhu@#$%&das&*)(SUndar"