Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to Click on Mutiple Links in Web Table
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi All,

I am having error while click on Multiple Links using childobjects method.
I am calculating the link count, for click on each link i am using For loop
but it works only for first link from second link is showing General Error.
Below i am using code like this.

Code:
If  Browser("Browser").Page("-- Welcome to YANG MING").Frame("right_3").WebTable("Service").Exist(10) Then
     Set Desc = Description.Create( )
     Desc("micclass").Value = "Link"
     Set objLinks = Browser("Browser").Page("-- Welcome to YANG MING").Frame("right_8").WebTable("Service").ChildObjects(Desc)
      LinkCount = objLinks.Count
      ' msgbox(LinkCount)
     For l = 0 to LinkCount-1
     objLinks(l).Click
      Next
End If
Reply


Messages In This Thread
Unable to Click on Mutiple Links in Web Table - by branjitk - 06-12-2012, 11:50 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can QTP handle slick grid table in a web page qtplearner88 2 4,491 10-01-2019, 10:44 AM
Last Post: shilpi952
  unable to rowcount in web table manoj84monu 1 2,901 06-13-2016, 04:46 PM
Last Post: Anu1234
  How to click on all links dynamically in UFT? Rohan 9 18,466 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,653 07-22-2015, 09:36 AM
Last Post: abhideshpande001
  Unable to click on the WebButton with specified Index srach84 2 4,291 03-31-2015, 04:36 AM
Last Post: srach84

Forum Jump:


Users browsing this thread: 2 Guest(s)