I am loving the new web support for Robotium.
I am trying to check the default value of a web radio button
<input type="radio" checked="checked" name="radioyesno" value="YES" class="radio">
And set the value to "NO"
I can't see any support for setting radio buttons to either True/False | YES/NO
Which solo method should I be using?
I have tried to use the solo.clickOnWebElement(By.name("radioyesno"), "NO");
but that doesn't work..
Any help would be great
Thanks
--
You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotium-develo...@googlegroups.com.
To post to this group, send email to robotium-...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotium-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
for(WebElement webElement : solo.getCurrentWebElements()){
Log.d("Robotium", " id: " + webElement.getId() + " text: " + webElement.getText() + " name: " + webElement.getName() + " classname: " + webElement.getClassName() + " tag: " + webElement.getTagName());
}
/Renas