aspose 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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HttpUnit- Can not set parameter value for select option