Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to click links with same name in a webtable?
#4
Not Solved
Hi,
No, html id and row id are different. U have to navigate through all rows using for loop.
Code:
For i=1 to rowcount
if <condition to check the required data on particular cell of table>
set objLink=Browser().page().webtable().childitem(i,5)-->get the link to Click
objLink.Click
msgBox("Row id for this link was"&i)
Next


This is a rough code..u can get a feel of what u need to do.
Regards,
Sankalp
Reply


Messages In This Thread
RE: How to click links with same name in a webtable? - by sshukla12 - 05-25-2012, 10:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Link in a webtable in a webtable Soulwalker 1 2,718 07-19-2017, 01:44 PM
Last Post: Ankur
  How to click on all links dynamically in UFT? Rohan 9 17,971 02-25-2016, 10:42 AM
Last Post: vinod123
  I want to click on all the links in the webtable. These links are nothing but some co abhideshpande001 0 2,584 07-22-2015, 09:36 AM
Last Post: abhideshpande001
  Unable to click on WebButton in WebTable srach84 1 2,914 02-09-2015, 09:07 PM
Last Post: arpan
  Webtable actions are not getting recorded, but ObjectSpy is able to identify webtable sahilarora2000 2 3,669 06-13-2014, 04:27 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)