[ http://jira.openqa.org/browse/WTR-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19961#action_19961 ]
Jarmo Pertman commented on WTR-461: ----------------------------------- Thank you for these observations! Fixed http://github.com/bret/watir/commit/110abca79293d9da90a939fc3b0e17421dd3bcf1 And closed. > 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@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development