Hi All,
I am trying to get Selenium ide 1.0b2 to click a link on a pop up window, the windows contains a html table with each datarow containing a html link which fires some javascript. Below is an example of a row in the which contains the link I am trying to click on.
<tr style="">
<td>clickAndWait</td>
<td>link=Boss Hogg</td>
<td></td>
</tr>
using the above it just hangs at the clickandwait command, if I change it to a plain click command it passes the test but does not actually click the link on the page. I have tried selecting the link using xpath generated from Xpath Checker with the same result.
Any help would be greatly appreciated
Regards
Wayne
selenium doesn't support pseudo-url, moreover pseudo-url is not a recommended usage by w3c http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-HTML-TECHS-20041008/#js-url
the workaround is change href="javascript:...." to onclick="javascript:...", and then click the link
you can use selenium to make the change.
Thanks for the help that is great, you suggest selenium can be used to make the change, can you give an example of how I would achieve that.
Thanks again
Wayne
Hi All,
I now have this sorted using the following,
Regards
Wayne
