Hi folks

I'm trying to automate some time consuming acceptance tests of 
external 3rd party financial software (so we can't change the source).

I'm struggling trying to submit the following form due to the wierd 
submit technique:

<form id="login" name="login" method="POST" action="security_check">
    <input onkeypress="return _submitOnEnter(event, 'login');" 
name="username">
    <input name="password" type="password">

    <!—horrible submit bit -->
    <a href="#" onclick="submitForm('login',1,
{'event':'login'});return false">
       <img src="/some/image/path/login.gif" border="0" 
align="absmiddle" width="48" height="20">
    </a>
</form>

It can set the input fields, but I’m struggling to find a way to click 
the link so it calls the javascript correctly.

Does anyone have any ideas on how to do this?

Cheers
Andy




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to