In a page i have N number of links at a time i would like
to open those links by using QTP?how to do that?

Answer Posted / manish

You can get it by first create description object like :-
set deslink = description.create()
deslink("micclass").value = weblink

then you can use this variable to get number of link in the
page like.

set bro = browser(" ").page (" ")
set countlink=browser(" ").page("
").weblink(deslink).childobjects
for countlink = 0 to countlink-1
bro.weblink(deslink).click
next

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

QTP script is not working on other's machine..

1723


What are the different types of action?

741


Explain the concept of how quicktest professional identifies object?

726


What is the Difference between copy to action and call to action?

810


What does it mean when a check point is in red color? What do you do?

780


hi nani my doubt is how does qtp process metrix related to software process.

1750


What is system testing and what are the different types of tests you perform in system testing?

840


Explain the Different types of QTP test assets and their extensions?

832


Explain the terms test and business component?

758


I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

1897


Write a script to customize the test results in PDF and HTML format.

2311


What is Unicode Compatibility?

1643


What are the advantages of parameterization ?

799


How does qtp identify gui object?

768


How will you check a web application for broken links using qtp?

764