<div>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Hi Vikash,</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Thanks for raising the issue. We are working on FireWatir to remove all the gaps it has with Watir so that there is no need to change scripts.
</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">For now you can click the button using text and type properties, this works on Watir also.</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">ff.button(:text, "Sign In")</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">ff.button(:type, "submit")</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"> </span><span style="FONT-FAMILY: Arial"> </span><span style="FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Regards,</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial">Prema</span></p>
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"></span> </p></div>
<div><span class="gmail_quote">On 4/2/07, <b class="gmail_sendername">VIKASH KUMAR</b> <<a href="mailto:vikashkumar051@yahoo.co.in">vikashkumar051@yahoo.co.in</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><span class="q">
<div>I have a button in my web page, the relevant snippet of html is as follows:<br><br><div>&nbsp;<br /><br><button type="submit">Sign In</button><br></div><br><br>This button can be click using watir by
ie.button(:value,'Sign In').click, but in case of FireWatir, the same syntax gives error.</div>
<div> </div></span>
<div>The Error is as follows :</div>
<div><br>c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.0.1-mswin32/./MozillaBaseElement.rb:739:in `assert_exists': Unable to locate object, using value and Sign In (FireWatir::Exception::UnknownObjectException)<br> from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-
1.0.1-mswin32/./MozillaBaseElement.rb:897:in `click'<span class="q"><br><br>Please, help me in clicking this button using FireWatir<br>Thanks in advance<br>Vikash</span></div></div></div></div><span class="q"><br>
<hr size="1">
Here's a new way to find what you're looking for - <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/" target="_blank">Yahoo! Answers
</a> </span></div><br>_______________________________________________<br>Wtr-general mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Wtr-general@rubyforge.org">Wtr-general@rubyforge.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://rubyforge.org/mailman/listinfo/wtr-general" target="_blank">http://rubyforge.org/mailman/listinfo/wtr-general</a><br></blockquote></div><br><br clear="all">
<br>-- <br>Prema Arya