Bugs item #1307443, was opened at 2005-09-29 01:22
Message generated for change (Comment added) made by henryju
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1307443&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: None
Priority: 5
Submitted By: RoCoder (callatis)
Assigned to: Nobody/Anonymous (nobody)
Summary: INPUT type="FILE" cannot be set

Initial Comment:
I am unable to set the value of an INPUT type="FILE"
element using:
 setFormElement("importFile",
this.inputFile.getAbsolutePath());
I've looked into the code and it seems that the methods
that the control doesn't claim its value. I got around
it by using:
        HttpUnitDialog dialog = getDialog();
        WebForm webForm = dialog.getForm();
        webForm.setParameter("importFile", this.inputFile);
I believe the other approach should work as well.


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

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

Message:
Logged In: YES 
user_id=1235926

Another httpunit bug. Use htmlunit instead.

I've reported this bug to HttpUnit project.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1307443&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