Bugs item #1996193, was opened at 2008-06-18 02:47
Message generated for change (Settings changed) made by jevonwright
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1996193&group_id=61302
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core API
Group: Release 1.5
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Victor (vceban1)
Assigned to: Nobody/Anonymous (nobody)
Summary: clickRadioOption does not work as expected
Initial Comment:
We have a web page where the JWebUnit seems not to be able to select a radio
button. Here is the html
HTML code
<tr>
<td class="answerOpt" valign="top">
<input type="radio" name="coreAnswers['0-1'].strAnswer" value="1"
id="c_0-1-1" />
</td>
<td class="answerLabel" valign="top">
<label for="c_0-1-1">Yes</label> </td>
</tr>
here is the Java code
String option1 = "coreAnswers['0-1'].strAnswer";
tester.assertRadioOptionPresent(option1, "1");
tester.clickRadioOption(option1, "1");
tester.assertRadioOptionSelected(option1, "1");
The error message we receive is this
"<![CDATA[ Unexpected state: no radio button was selected in radio group
[coreAnswers['0-1'].strAnswer]. Is it possible in a real browser?
]]> "
I have tried replacing '0-1' with \'0-1\' and ''0-1'' thinking that may be that
confuses the framework. That did not help.
Any help would be appreciated.
Victor
----------------------------------------------------------------------
Comment By: Jevon Wright (jevonwright)
Date: 2008-10-28 23:57
Message:
Hi Victor,
Do you still get this error? As of the current SVN trunk I cannot
reproduce this error.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1996193&group_id=61302
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development