RE: [Webunitproj-users] Submiting form having image as submit button
Brought to you by:
dgan
|
From: Brian K. <bt...@ne...> - 2003-02-26 19:02:18
|
You might try getting a handle to the input tag through the find method:
=20
find("alt", "Log In", WebTag.FIND_CONTAINS, WebTag.class);
=20
Thanks,
=20
Brian
=20
=20
-----Original Message-----
From: Rami Reddy [mailto:ram...@ya...]=20
Sent: Wednesday, February 26, 2003 4:12 AM
To: web...@li...
Subject: [Webunitproj-users] Submiting form having image as submit
button
=20
Hi ,
=20
I am using WebUnit to test my web application.
I held up in my login page itself.
=20
Login form have username,and password and and image to submit button.
=20
I am unable to click on this image to submit form.
Could anyone help me how to make this work.
Following is HTML code to place submit(image) button in UI..
=20
=20
<input type=3D"image" border=3D"0" src=3D"images/btn_login.gif" =
width=3D"72"
height=3D"17" alt=3D"Log In">
=20
=20
Thanks.
-Rami
=20
=20
=20
=20
=20
_____ =20
Do you Yahoo!?
Yahoo! Tax Center
<http://rd.yahoo.com/finance/mailtagline/*http:/taxes.yahoo.com/> -
forms, calculators, tips, and more
|