Hi Prema,
Thanks for your reply, but when I used this
ff.button(:text, "Sign In").click
It throws error, as shown below
irb(main):016:0> ff.button(:text,"Sign In").click
FireWatir::Exception::UnknownObjectException: Unable to locate object, using
text and Sign In
from
c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.0.1-mswin32/./MozillaBaseElement.rb:739:in
`assert_exists'
from
c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.0.1-mswin32/./MozillaBaseElement.rb:897:in
`click'
also, while using this
ff.button(:type, "submit")
It throws the following error
irb(main):015:0> ff.button(:type,"submit").click
FireWatir::Exception::UnknownObjectException: Unable to locate object, using
type and submit
from
c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.0.1-mswin32/./MozillaBaseElement.rb:739:in
`assert_exists'
from
c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.0.1-mswin32/./MozillaBaseElement.rb:897:in
`click'
Thanks and Regards,
Vikash
> Please, help me in clicking this button using FireWatir
><button type="submit">Sign In</button>
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general