Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to click all the links
#1
Not Solved
Hi All,


Below is the updated code

******************************************************

Code:
Set oLink = Description.Create()
oLink("micclass").Value = "Link"

Set all_Links = Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(oLink)

For i = 1 To all_Links.Count-1
    all_Links(i).click()
    wait 1
Next

******************************************************

Here the problem while clicking the 2nd link

it is working upto to click the FIRST link, but when it clicks the SECOND link it is showing error like General Error

kindly find the attachment for the screen shot

kindly let me know the issue why it is not able to click from second link

Thanks in advance


Thanks & Regards,
Sivakumar S


Attached Files Image(s)
   
Reply


Messages In This Thread
how to click all the links - by gaveyom - 08-10-2011, 12:09 PM
RE: how to click all the links - by sshukla12 - 08-10-2011, 12:18 PM
RE: how to click all the links - by gaveyom - 08-10-2011, 02:33 PM
RE: how to click all the links - by sshukla12 - 08-10-2011, 02:48 PM
RE: how to click all the links - by gaveyom - 08-10-2011, 06:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to click on all links dynamically in UFT? Rohan 9 18,000 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
  VB SCRIPT to click on specific links on webpage and store related data ACCBAJPA 1 9,883 04-02-2013, 01:33 PM
Last Post: ACCBAJPA
  Unable to Click on Mutiple Links in Web Table branjitk 6 4,577 06-12-2012, 05:49 PM
Last Post: sshukla12
  How to click links with same name in a webtable? qtplearner88 4 4,990 06-06-2012, 07:00 PM
Last Post: Jeffm33

Forum Jump:


Users browsing this thread: 1 Guest(s)