[Wtr-development] [JIRA] Updated: (WTR-175) buttons.length method doesn't count <button> elements

Charley Baker (JIRA) watirjira at gmail.com
Wed Oct 27 15:42:27 EDT 2010


     [ http://jira.openqa.org/browse/WTR-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charley Baker updated WTR-175:
------------------------------

    Fix Version/s:     (was: 1.6.7)
                   Soon

> buttons.length method doesn't count <button> elements
> -----------------------------------------------------
>
>                 Key: WTR-175
>                 URL: http://jira.openqa.org/browse/WTR-175
>             Project: Watir
>          Issue Type: Bug
>          Components: HTML Controls
>    Affects Versions: 1.5.0/1.5.1
>         Environment: ie watir
>            Reporter: sufyit
>             Fix For: Soon
>
>
> Watir's buttons.length method doesn't count <button> elements.  Below is an example web page and watir code demonstrating the issue:
> HTML:
> <html>
>   <body>
>     <button>test</button>
>   </body>
> </html>
> WATIR CODE:
> ie.buttons.length
>                         #-->0
> ie.buttons[1].exists?
>                         #-->true

-- 
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

        


More information about the Wtr-development mailing list