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 is the use of the instr function?
Write a VB Script to count blank Lines in a notepad
when we use filter funtiom invb script(QTP)
What is wrong with the following code: <%afname="header.asp"%><!?#include file ="<%=afname%>"?>
Whenever I use Wscript.Echo Qtp raising Run time error as 'Object required for Wscript' How I can create object for Wscript
What are the differences between sub procedures and function procedures?
write a program to display the system specifications of client system with the help of vbScript.
Difference between dim,public and private variables in vb script?
Explain the string concatenation function in vbscript?
what is fire event method in qtp?
Am working with web application. i faced one senario. i.e, webpage having webtable having two coloumns, in that first coloumn is for serial no and second coloumn is for mac address link, now i want to get first row second coloumn value, that having macaddress as link. Please help me how to get that link?
Diff between web table ,datatable and data base (QTP)