[wtr-general] Re: watir:buttons returns only 1st button

2009-10-09 Thread kat
Unfortunately, I cannot change html. Also, this is a real bug. I've submitted it here: to http://jira.openqa.org/browse/WTR-326 On Oct 8, 11:25 pm, orde ohil...@gmail.com wrote: Weird.  Looks like it's returning the text (i.e. 1st button) instead of the value (first button). I'm not sure why

[wtr-general] Re: watir:buttons returns only 1st button

2009-10-09 Thread SuperKevy
From the w3c schools Definition and Usage The button tag defines a push button. Inside a button element you can put content, like text or images. This is the difference between this element and buttons created with the input element. Always specify the type attribute for the button. The

[wtr-general] Re: watir:buttons returns only 1st button

2009-10-09 Thread Bret Pettichord
The watir button/buttons methods support both kinds of HTML buttons. Or at least they have and they should. On Oct 9, 8:38 am, SuperKevy kpe...@scholarshipamerica.org wrote: From the w3c schools Definition and Usage The button tag defines a push button. Inside a button element you can put

[wtr-general] Re: watir:buttons returns only 1st button

2009-10-09 Thread Bret Pettichord
Thanks for the report. This is duplicate of WTR-175, which has been open for some time. Would someone like to look into fixing it? http://jira.openqa.org/browse/WTR-175 Bret On Oct 9, 4:16 am, kat katfor...@gmail.com wrote: Unfortunately, I cannot change html. Also, this is a real bug. I've

[wtr-general] Re: watir:buttons returns only 1st button

2009-10-08 Thread orde
Weird. Looks like it's returning the text (i.e. 1st button) instead of the value (first button). I'm not sure why you are getting unexpected results, but here are a couple of things that might help: * button tag isn't the same as input type=button tag * your code below should work if all the