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

what is the difference between the modular framework and datadriven frame work

1932


Explain about Test Fusion Report of QTP?

630


explain structured testing? plz guys with exp. do answer

1425


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

1895


What phases are involved in testing an application in qtp?

568






How to break the object spy ?

673


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

1425


Should have experience in framework means?

1435


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

1585


What is reusable action?

621


What is the difference between run time object and test object?

595


What are the technics follow in writing VB script?

1548


What is difference between run time object and test object?

570


What is 'sleep' in sync point?

638


How to test background color and dynamic images during run time can you put the check point for moving objects?

1464