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
What is the difference between javascript and vbscript?
Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?
How can the spaces from the string be removed?
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
What are keywords in the vbscript language?
wht must be the interview question on corinthian information technology solutions incorporated.
Mention what is the difference between vbscript and vba?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
What is the use of option explicit statement?
What are the differences between sub procedures and function procedures?
Difference between dim,public and private variables in vb script?
What are the valid scopes of a variable in vbscript?
How can you destroy an object in vbscript?
Explain about the extension .hta?
What purpose does ‘on error resume next’ serves?