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
Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
What is the difference between function and procedure?
Which function allows you to instantiate an object given its programmatic identifier or progid?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
What is the output of a + b in vbscript if a = 5 and b = 10?
Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
In html file what is an ideal position to include vbscript?
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
how does vb script help in web page designing? explain with example.
What is the difference between do until loop and do while loop?
what is the use of QCUtil? explain with one example?
how to operate webobjects in a webpage using getobject function and then using generic methods?
Which function is used in the vbscript language to convert the specified expression into a date type value?