Code:
Set oLinks = Description.Create
oLinks("micclass").value = "Link"
objLinks = Browser("B").Page("P").Frame("body").ChildObjects(oLinks)
LinkCount = objLinks.Count
For i = 0 to LinkCount-1
objLinks(cint(i)).Click
Next
click each web link in a page using Index or other method in QTP
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
![]() |
Webtable contains cell contains two links, how to click on link | srinivassure | 9 | 54,212 |
07-30-2016, 03:41 PM Last Post: Akshay |
VB Script to count number of links in a web page. | Suma Parimal | 4 | 25,759 |
07-01-2015, 12:59 PM Last Post: govind |
|
Upgraded QTP 11.0 to UFT 11.53, Object Index Properties are varying | Raghava M | 0 | 2,300 |
01-28-2015, 06:02 PM Last Post: Raghava M |
|
General run error. Line (18): "Loop while Browser("Index:=0").Object.Busy" | AshokReddy | 3 | 5,474 |
12-20-2013, 01:44 PM Last Post: sshukla12 |
|
Unable to select a combo item by value or index | martinshort | 2 | 3,733 |
08-26-2013, 07:55 PM Last Post: sudhirzpatil |