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 the uses of vb script?
wat is com(common object model)object for mozilla firefox??? if any knows the exact answer....plz rply me
write a vb script to add two 2*2 matrix
In what way program "hello world" you can write in vbscript?
Why to use option explicit in vb script?
In html file what is an ideal position to include vbscript?
Explain a few date functions in vbscript
Here in my automation tool, i am retreiving some values and i need to store this values in the excel. How can i achieve this?. We are using VBA as scripting language. please let me know if you require any further inputs.
what is event handling?
How to check the particular window is exist or not with out using check points
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
What is the equivalent of VBScript?s On Error In Jscript ?