Bugs item #1042967, was opened at 2004-10-08 13:38
Message generated for change (Comment added) made by henryju
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1042967&group_id=61302

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: HttpUnit plugin
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: assertFormElementEquals does not seem to work for "submit"

Initial Comment:
This was in the form under scrutiny

<input type="submit"
name="apply-now-cid-si-30-83145$194391"
value="ApplyNow" class="button">
  
but this assertion was failing

assertFormElementEquals("apply-now-cid-si-30-83145$194391",
"ApplyNow");

with this message

    [junit] expected:<ApplyNow> but was:<null>
    [junit] junit.framework.ComparisonFailure:
expected:<ApplyNow> but was:<null>

However this assertion passes

assertFormElementPresent("apply-now-cid-si-30-83145$194391");

Was the first assertion used improperly or is this a bug?

----------------------------------------------------------------------

>Comment By: Julien HENRY (henryju)
Date: 2006-06-22 11:46

Message:
Logged In: YES 
user_id=1235926

It's a bug of HttpUnit.
getParameterValue("name of a submit button") return null.

I will report it to HttpUnit project, but I don't know if
they will fix it. Use Htmlunit plugin instead.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1042967&group_id=61302

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to