how to display all the links in one page using vb script in qtp.
Answer Posted / 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 |
Post New Answer View All Answers
How will you convert a string to upper case string using vbscript?
Difference between dim,public and private variables in vb script?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
In html file what is an ideal position to include vbscript?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
How can you destroy an object in vbscript?
Explain the tristate constants in vbscript?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
write any ttest cases using check points and parameterization
what is used of Property........End Property loop ? how to write the script for it?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
How will you check that a variable is an array in vbscript?