Hi Vikash,


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.



For now you can click the button using text and type properties, this works
on Watir also.



ff.button(:text, "Sign In")

ff.button(:type, "submit")



Regards,

Prema


On 4/2/07, VIKASH KUMAR <[EMAIL PROTECTED]> wrote:

  I have a button in my web page, the relevant snippet of html is as
follows:

<div>&nbsp;<br />
<button type="submit">Sign In</button>
</div>

This button can be click using watir by ie.button(:value,'Sign In').click,
but in case of FireWatir, the same syntax gives error.

The Error is as follows :

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)
 from 
c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.0.1-mswin32/./MozillaBaseElement.rb:897:in
`click'

Please, help me in clicking this button using FireWatir
Thanks in advance
Vikash

------------------------------
Here's a new way to find what you're looking for - Yahoo! 
Answers<http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/>

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




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

Reply via email to