Laurent Duperval wrote:

Hi,

How do I work with checkboxes? I have a page with multiple checkboxes, all with the same name, but with different values. How can I check certain checkboxes only? How do I check all the checkboxes?

I guess for the checkbox with different values, you could use: checkCheckbox("name", "value"); see: http://jwebunit.sourceforge.net/apidocs/net/sourceforge/jwebunit/WebTester.html#checkCheckbox(java.lang.String,%20java.lang.String)

For checking all checkboxes, there isn't functionality in jWebUnit to my knowledge.

But perhaps I read your question the wrong way.

Martijn.


------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Jwebunit-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to