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 to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
What is the use of the instr function?
What are the environments supported by vbscript language?
What are the valid scopes of a variable in vbscript?
Why is it recommended to close the database connection every time after the work is completed?
please can you help me to get a code of flames using a visual basic 6
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
what is event handling?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
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?
What is the purpose of regexp object in vbscript?
We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?
If else for do while select in vb script?
How to replace junk code recorded by QTP with a mall function.