Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to click on all links dynamically in UFT?
#10
Solved: 8 Years, 1 Month, 3 Weeks ago
try the below code
Code:
Set Des_Obj = Description.Create
Des_Obj("micclass").Value = "Link"
Set link_col = Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(Des_Obj)
a = link_col.count
For i = 0 to a-1
tag = link_col(i).GetROProperty("name")
href = link_col(i).GetROProperty("url")
Browser("micclass:=Browser").Navigate href
Next
Reply


Messages In This Thread
RE: click on all links dynamically.. - by Jay - 04-14-2011, 11:07 AM
RE: click on all links dynamically.. - by Rohan - 04-14-2011, 11:57 AM
click on all links dynamically.. - by Rohan - 04-14-2011, 01:18 PM
RE: click on all links dynamically.. - by Jay - 04-27-2011, 01:56 PM
RE: click on all links dynamically.. - by sindhus - 02-22-2016, 12:21 PM
RE: click on all links dynamically.. - by vinod123 - 02-25-2016, 10:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to dynamically find the OracleFormWindow? arpan 0 1,766 04-26-2017, 12:45 AM
Last Post: arpan
Exclamation UFT doesn't recognize object in SAP at first, but recognize it after i click debug CedricMab 3 6,666 02-06-2017, 07:09 PM
Last Post: nguyen4685
  I want to click on all the links in the webtable. These links are nothing but some co abhideshpande001 0 2,651 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,294 06-25-2015, 11:32 AM
Last Post: johnny77
  SAPGuiSession get the active SAPGuiWindow dynamically cko77 2 5,316 01-27-2014, 12:04 PM
Last Post: cko77

Forum Jump:


Users browsing this thread: 5 Guest(s)