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 |
How can I get the value of an object property or variable in another frame?
How do you declare a variable in vbscript?
we executed QTP scripts in one browser(i.e IN)same scripts is working on another browsers or not (i.e mean netscap,m azol..like )
How can constants be declared in the vbscript language?
write generic functions for webapplication?like generic function for webedit generic function for webbutton generic function for links
What is a class in CSS?
What is sql loader? Explain the files used by sql loader to load file?
How to open a file. What is the perpose of true and false mode there?
What is the purpose of regexp object in vbscript?
How to pass argument by reference to a function in vbscript?
Find Out Length of an array without using Ubound?
write a vb script to generate the following pattern ***** **** *** ** *