Ruby ->Watir - Clicking javascript

N

newyorkdolluk

hi,

i have a html file with the following javascript:

<td width="60"
id="toplevel_button4" onclick="javascript:window.location='/ATT/listr
eports.do'" onmouseover="javascript:window.status='General Text'"
onmouseout="javascript:window.status=''" title=
"General Text" class="toplevel_nav_button hand_Cursor">
Reports
</td>

can anyone advise on how to get ruby/watir to automatically 'click'
this. I have played with Watir::IE and Watir::Simple methods but cant
seem to spot it.

thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,206
Messages
2,571,069
Members
47,677
Latest member
MoisesKoeh

Latest Threads

Top