This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
wood burning stoves
 
subject: HttpUnit- Can not set parameter value for select option
 
Similar Threads
httpunit and java script
Changing maxlength of textfield
HttpUnit and html select
A question about the form
Dropdown populates other fields