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

Can you please us that after clicking first link, will a new browser will open ?


Hi ,
Pls try the below code and let us know the result

Code:
SystemUtil.Run "iexplore.exe","www.google.co.in"
Set desc=Description.Create()
desc("micclass").Value="Link"

Set obj=Browser("Browser").Page("Page").WebTable("ATable").ChildObjects(desc)

For i=0 to obj.Count-1
    Set obj1=Browser("Browser").Page("Page").WebTable("ATable").ChildObjects(desc)
val =  obj1(i).GETroProperty("text")
Print val
    obj1(i).Click
    Wait(2)
    Browser("Browser").Back
Next
Reply


Messages In This Thread
RE: Unable to Click on Mutiple Links in Web Table - by ssvali - 06-12-2012, 03:09 PM

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

Forum Jump:


Users browsing this thread: 2 Guest(s)