File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes HttpUnit- Can not set parameter value for select option Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "HttpUnit- Can not set parameter value for select option" Watch "HttpUnit- Can not set parameter value for select option" New topic
Author

HttpUnit- Can not set parameter value for select option

Omar Faruq Shawon
Greenhorn

Joined: Oct 27, 2004
Posts: 3
I'm testing my application using HttpUnit. My page contains a lot of javascript and some select options field. One field is related to other.

I can not set the parameter values for 2nd select option field whare it is only enabled (using javascript) while I select the first Select Option. I can easity set parameter for the first select option but can't do it for the second one.

I'm trying - form.setParameter("name","value")

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpUnit- Can not set parameter value for select option
 
Similar Threads
A question about the form
httpunit and java script
HttpUnit and html select
Dropdown populates other fields
Changing maxlength of textfield