Update of /cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3298/src/net/sourceforge/jwebunit
Modified Files:
HttpUnitDialog.java
Log Message:
Implemented clickRadioOption().
Index: HttpUnitDialog.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/HttpUnitDialog.java,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** HttpUnitDialog.java 12 Aug 2005 18:21:49 -0000 1.56
--- HttpUnitDialog.java 7 Dec 2005 05:55:13 -0000 1.57
***************
*** 953,956 ****
--- 953,970 ----
}
+
+
+ /**
+ * Clicks a radio option. Asserts that the radio option exists first.
+ *
+ * * @param radioGroup
+ * name of the radio group.
+ * @param radioOption
+ * value of the option to check for.
+ */
+ public void clickRadioOption(String radioGroup, String radioOption) {
+ setFormParameter(radioGroup, radioOption);
+ }
+
/**
* Navigate by submitting a request based on a link with a given ID. A
RuntimeException is thrown if no such link
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development