Code: Select all
<li class="sx4_sedan">
<span class="modelmenu link " onclick="location.href='http://targetwebsite.com"></span>
</li>
Code: Select all
<li class="sx4_sedan">
<span class="modelmenu link " onclick="location.href='http://targetwebsite.com"></span>
</li>
I think the problem is, that you don't have any text surrounded by your span tag.ijunes wrote: When I use the Ranorex recorder to record a click on the link, it recognizes the object as 'SomeSpanTag' and it won't play back the link.
Code: Select all
<li>
<span onclick=location.href="http://targetwebsite.com">link</span>
</li>