Hi,
See http://sourceforge.net/tracker/index.php?func=detail&aid=1199223&group_id=61302&atid=497985
Currently, you can use:
clickElementByXPath("//[EMAIL PROTECTED]'image' and @name='submit']")
++
Julien
See http://sourceforge.net/tracker/index.php?func=detail&aid=1199223&group_id=61302&atid=497985
Currently, you can use:
clickElementByXPath("//[EMAIL PROTECTED]'image' and @name='submit']")
++
Julien
----- Message d'origine ----
De : my mail <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Mardi, 1 Août 2006, 1h53mn 56s
Objet : [Jwebunit-users] Regarding Submitting a form
De : my mail <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Mardi, 1 Août 2006, 1h53mn 56s
Objet : [Jwebunit-users] Regarding Submitting a form
Hi
All,
I am trying to submit a form which has a submit button
of this kind
<input type="image" name="submit"
src=""_blank" href="http://myserver/images/common/btn-login.gif%22">http://myserver/images/common/btn-login.gif";
alt="Login">
How can I simulate the form submission using the
jwebunit framework ?
The form looks like this:
<form name="loginForm" method="POST"
action="">
<!-- Login Username and Password-->
<table border="0" width="60%" cellpadding="4"
cellspacing="0" class="text_12blk">
<tr>
<td width="15%" align="right"
nowrap><strong>Email or Username:</strong></td>
<td width="85%"><input type="text"
name="j_username" size="25" value=""></td>
</tr>
<tr>
<td
align="right"><strong>Password:</strong></td>
<td><input type="password" name="j_password"
size="25" value=""></td>
</tr>
<tr>
<td></td>
<td align="right"><input type="image"
name="submit"
src=""_blank" href="http://myserver/static/images/common/btn-login.gif%22">http://myserver/static/images/common/btn-login.gif";
alt="Login"></td>
</tr>
</table>
</form>
AP
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
I am trying to submit a form which has a submit button
of this kind
<input type="image" name="submit"
src=""_blank" href="http://myserver/images/common/btn-login.gif%22">http://myserver/images/common/btn-login.gif";
alt="Login">
How can I simulate the form submission using the
jwebunit framework ?
The form looks like this:
<form name="loginForm" method="POST"
action="">
<!-- Login Username and Password-->
<table border="0" width="60%" cellpadding="4"
cellspacing="0" class="text_12blk">
<tr>
<td width="15%" align="right"
nowrap><strong>Email or Username:</strong></td>
<td width="85%"><input type="text"
name="j_username" size="25" value=""></td>
</tr>
<tr>
<td
align="right"><strong>Password:</strong></td>
<td><input type="password" name="j_password"
size="25" value=""></td>
</tr>
<tr>
<td></td>
<td align="right"><input type="image"
name="submit"
src=""_blank" href="http://myserver/static/images/common/btn-login.gif%22">http://myserver/static/images/common/btn-login.gif";
alt="Login"></td>
</tr>
</table>
</form>
AP
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Jwebunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users
