Get All Href

Ask general questions here.
Hardeep
Posts: 5
Joined: Thu Jun 30, 2016 8:43 am

Get All Href

Post by Hardeep » Tue Jul 05, 2016 8:29 am

hi

I want to retrieve all the href on the current webpage.
How can I retrieve all href??

please help me

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Get All Href

Post by odklizec » Tue Jul 05, 2016 9:15 am

Hi,

You can for example use the code, as described here...
http://www.ranorex.com/support/user-gui ... html#c3574

Just replace Ranorex.Button with Ranorex.ATag and repo item with your own (e.g. DOM element).
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration