[Wtr-development] [JIRA] Commented: (WTR-461) Typo in README.rdoc, mismatch with example code

Jarmo jarmo.p at gmail.com
Thu Oct 28 03:52:03 EDT 2010


Documentation link at http://watir.com/documentation/ to rdoc.info
should be also updated. Maybe have some <ul> there for different
versions?

Jarmo

On Thu, Oct 28, 2010 at 8:53 AM, Alister Scott (JIRA)
<watirjira at gmail.com> wrote:
>
>    [ http://jira.openqa.org/browse/WTR-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19963#action_19963 ]
>
> Alister Scott commented on WTR-461:
> -----------------------------------
>
> Thanks.
> Updated the watir site also: http://watir.com/examples/
>
>> Typo in README.rdoc, mismatch with example code
>> ------------------------------------------------
>>
>>                 Key: WTR-461
>>                 URL: http://jira.openqa.org/browse/WTR-461
>>             Project: Watir
>>          Issue Type: Bug
>>          Components: Documentation
>>    Affects Versions: 1.6.6
>>         Environment: Any
>>            Reporter: Stephan Kämper
>>
>> The README.rdoc (http://github.com/bret/watir/blob/master/README.rdoc) says:
>> Actual text:
>> > Setting and clearing a radio button
>> >
>> >  browser.radio(:value => "watir").set
>> >  browser.radio(:value => "watir".clear
>> Closing parenthesis is missing, should be
>> > browser.radio(:value => "watir").clear
>> Additionally the example page (http://bit.ly/watir-example) as given in the code/README actually is:
>> ...
>> <label class="ss-q-help" for="entry_2">Radio buttons</label>
>> <ul class="ss-choices"><li class="ss-choice-item"><label class="ss-choice-label"><input type="radio" name="entry.2.group" value="Watir" class="ss-q-radio" id="group_2_1">
>> Watir</label></li> <li class="ss-choice-item"><label class="ss-choice-label"><input type="radio" name="entry.2.group" value="Selenium" class="ss-q-radio" id="group_2_2">
>> Selenium</label>
>> ...
>> This uses 'Watir' while the example code is 'watir' which in turn raises an exception:
>> > ...
>> > Watir::Exception::UnknownObjectException: Unable to locate element, using {:value=>"watir"}
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
> _______________________________________________
> Wtr-development mailing list
> Wtr-development at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-development


More information about the Wtr-development mailing list