On Wed, Oct 27, 2010 at 8:29 AM, vasu <[email protected]> wrote:
> <input type="image" src="../images/btn_login.gif" complete="complete"/
> I tried to click on the button using
> ie.image(:src, /btn_login/).click

Try this:

ie.button(:src, /btn_login/).click

More information:

http://wiki.openqa.org/display/WTR/Buttons

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to