Install the latest gem for Watir 1.5.1 and try it again if you can . Here's
a link for how to do just that:
http://wiki.openqa.org/display/WTR/Development+Builds

Follow the instructions on the right pane To Install.

-Charley

On 4/30/07, Kui Zhang <[EMAIL PROTECTED]> wrote:

Thanks Charley for the quick response!
I tried with your suggestion (ie.button(:text, �Login�).click) and still
received the same error message.

Here is DOM for the login button.  I also tried with the ie.form(:name,
�mainForm�).button(:text, �Login�).click.  Not working.  Anything I can try?

Really appreciate your help!
Kui

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Transitional//EN"><META
http-equiv="Content-Type" content="text/html; charset=utf-8">

<HTML><BODY leftMargin="0" topMargin="0" marginwidth="0" marginheight="0"
SogouAutoLinkDoc><FORM name="mainForm" action="
http://benicia.guidewire.com:10402/cc402/ClaimCenter.do";
method="post"><TABLE id="mainTable" height="100%" cellSpacing="0"
cellPadding="0" width="100%" border="0"><TBODY><TR><TD id="topDivision"
vAlign="top" width="100%" height="100%"><DIV style="HEIGHT: 100%"><DIV
style="Z-INDEX: 10; LEFT: 0px; POSITION: absolute; TOP: 36px"><TABLE
cellSpacing="0" cellPadding="0" width="100%"><TBODY><TR><TD><TABLE
class="login-table" cellSpacing="0" cellPadding="0" width="600"
align="center"><TBODY><TR><TD class="login-content-gray" vAlign="top"
align="left" width="460" height="117"><TABLE cellSpacing="0" cellPadding="2"
border="0"><TBODY><TR><TD>

<BUTTON class="login-button" onclick="Events.invokeEvent('1_4_act', true)"
smokeId="submit" isDefault="true" onrecordclick="Recorder.recordLogin
()">Login</BUTTON>


</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></DIV></TD></TR></TBODY></TABLE></FORM></BODY></HTML>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to