Ranorex Recorder unable to click on javascript link
Posted: Mon Sep 20, 2010 10:31 pm
Code: Select all
<li class="sx4_sedan">
<span class="modelmenu link " onclick="location.href='http://targetwebsite.com"></span>
</li>
Software Testing Forum
https://www.ranorex.info/
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>