Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



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

Answer / hokrani

Set ObjLink=Description.Create
ObjLink("micclass").value="Link"

Set PageLink= Browser("..").Page("..").ChildObjects(ObjLink)

For i=1 to PageLink.count
PageLink(i).Click
Next

Is This Answer Correct ?    7 Yes 1 No

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

Answer / 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

More QTP Interview Questions

What is keyword view and Expert view in QTP?

9 Answers   Ordain Solutions,


Can anybody give the script to addsheet, add column,add values under that column in the rows?

2 Answers   McAfee,


What are FAST and NORMAL modes in qtp ? Why r these modes intended for ?

3 Answers   IBM,


regular expression

2 Answers   Wipro,


Why VB scripts are used in QTP and TSL in Winrunner, is there any advantage of using VB Scripts

2 Answers  


how to do the batch testing in test director using manual testing procedure?

0 Answers  


what does it mean when a check point is in red color? what do u do?

4 Answers  


terminal services client

0 Answers  


How to make Non reusable actions into reusable action? is that feature available in QTP

2 Answers   Ordain Solutions,


Which version of QTP is using by companies nowadays?

4 Answers  


How to call a test from another test?

0 Answers  


please clarify the question ................. i know how to open the notepad file ? but i don't know how to enter the data into opened notepad ? Ex: set a=createobject("wscript.shell") a.run "Notepad.exe" please give the replay. my mail id is raju.ippali@gmial.com, 9823257761

6 Answers  


Categories