Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Webtable contains cell contains two links, how to click on link
#6
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi
If we use Exists, then only the first link will be clicked but not the desired link.
so we can use following
Code:
Set odesc=Description.Create()
odesc("micclass").value="link"

Set l_link=Browser("a").Page("b").WebTable("c").ChildObjects(odesc)
For i=0 to l_lionk.count-1
link_Title=l_link(i).GetROProperty("innertext")
If link_Title="XX" Then
l_link(i).Click
End If
Next
Reply


Messages In This Thread
RE: Webtable contains cell contains two links, how to click on link - by ammu - 07-12-2012, 04:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  click each web link in a page using Index or other method in QTP smeijer 13 23,707 04-29-2017, 04:53 PM
Last Post: kowshik
  How to get the links which appears on mouse hover of parent link rajendra649 9 34,862 03-10-2017, 06:35 PM
Last Post: satish00k
  [UFT] Wpf Label: click on image into cell robertosalemi 1 2,340 05-03-2016, 05:46 PM
Last Post: robertosalemi
  Getting links from a cell bistritapcv 2 3,353 03-29-2016, 05:48 PM
Last Post: siddheshbhavasar
  Webtable Checkpoint to get cell data from dynamic WbfGrid Neetha 1 3,341 08-20-2015, 11:43 PM
Last Post: ADITI1992

Forum Jump:


Users browsing this thread: 2 Guest(s)