Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To click and verify the links with + mark
#2
Not Solved
HI,

Try with below steps :
step1: Get the rowcount of the Webtable into a variable.(say 'rc')
step2: Use the 'For' Loop & get the required cell data into Variable(say 'linkval')
step3: check the link name is not equal to +0/0(0%) & then click on that link.

Ex:
Code:
rc=browser(..).page(..).webtable(..).rowcount

for i=1 to rc
linkvall=browser(..).page(..).webtable(..).getcelldata(i,3)

if linkval<> "+0/0(0%)" then
   browser(..).page(..).webtable(..).childitem(i,3,"Link",0).click
end if
next
Reply


Messages In This Thread
RE: To click and verify the links with + mark - by sreekanth chilam - 05-23-2009, 10:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to click on all links dynamically in UFT? Rohan 9 17,915 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,572 07-22-2015, 09:36 AM
Last Post: abhideshpande001
  How to Verify Static Object Text which is changing Dynamically with Expected Result johnny77 0 3,187 06-25-2015, 11:32 AM
Last Post: johnny77
  VB SCRIPT to click on specific links on webpage and store related data ACCBAJPA 1 9,835 04-02-2013, 01:33 PM
Last Post: ACCBAJPA
  Verify Text box border color qtpexpert 3 5,710 09-11-2012, 11:48 PM
Last Post: DevilkID

Forum Jump:


Users browsing this thread: 2 Guest(s)