Hi Michael, I'm in holidays so I won't have the time to fully answer you (should not stay too long on a computer ;)) but here are some tips:
1) Are you really talking about httpunit in your post? I hope you wanted to say HtmlUnit, because don't expect JavaScript support with HttpUnit. 2) Concerning Selenium, you have to start Selenium proxy before running your tests. You can either run it manually (you will have to download the jar and run in a console java -jar selenium-server-XXXX.jar or you can use the Maven plugin (http://mojo.codehaus.org/selenium-maven-plugin/) Regards, Julien ----- Message d'origine ---- De : Michael Capper <[EMAIL PROTECTED]> À : users@tapestry.apache.org Envoyé le : Mardi, 5 Août 2008, 15h06mn 19s Objet : T5: Palette and JWebUnit Hi, finally i've been allowed to look into Autamated Testing, and chose JWebUnit with HttpUnit. Then after building some successful test for login and entering some data, i failed writing a working test against a beaneditform with a Tapestry Palette. Short form of the test: setWorkingForm("..."); selectOptionsByValues("palette:avail", "..."); clickButton("palette:select"); submit(); I don't get any errors from that itself, but after submit the bean was unchanged with respect to this palette. Problem seems to be those two select elements: I can select some of the "palette:avail"-select-entries, but after clicking "palette:select" or submitting they are not sent to the server, but i assume some javascript instead adds them as options to the "palette"-select. Thus i was not able to select these options in JWebUnit (list is empty), and could not set my bean as desired. Anybody tried this? Sorry if this is too much of a JWebUnit-Question to belong in this forum, i just though you guys know your way in Testing :) I'm hoping for the correct procedure to submit a Palette with JWebUnit, or maybe a workaround with which i can set the selected options manually even if the current select-options in the form does not actually include them. Thanks! Somewhat unrelated, i also tried to add jwebunit-selenium to my pom.xml in eclipse, and used the selenium IDE to generate some tests, which i wanted to run out of eclipse. but when i ran those test, i only got a java.lang.UnsupportedOperationException: Catch body broken: IOException ... Connection refused. When adding the dependency to jwebunit-selenium i also break my jwebunit-httpunit , getting the same exception there. Greetings from Karlsruhe, Michael -- View this message in context: http://www.nabble.com/T5%3A-Palette-and-JWebUnit-tp18830750p18830750.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr