no command recorded with the Selenium IDE when clicking a link

28 views
Skip to first unread message

hakim sellaoui

unread,
Jul 9, 2013, 7:56:34 AM7/9/13
to seleniu...@googlegroups.com
Hi all, I'm having a problem with the IDE.  While I'm recording a test it won't generate a click command for clicking one of my links.  It works okay with others.
I'm using Perl as well as a formatter, so I've tried using the xpath to try and click it, but it returns with the error element not found.

Here's the html of the link I'm trying to click:

<tr>
<td>
<font size="2" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">
With the aid of a grant from the UK Science Research Council the Computer Physics Communications International Program Library was established at
<a target="cpcNewWindow" href="http://www.qub.ac.uk/">The Queen's University of Belfast </a>
</font>

As well here's the Perl commands I've tried on the standalone server:

    $sel->click_ok("//tr[4]/td/font/a");
    $sel->click_ok("link=The Queen's University of Belfast ");
    $sel->click_ok("xpath=/html/body/table[2]/tbody/tr[4]/td/font/a");

Any solutions to this would be great.

Hakim
Reply all
Reply to author
Forward
0 new messages