[Wtr-development] [JIRA] Updated: (WTR-349) watirspec: Buttons#last and Buttons#length fails

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


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

Charley Baker updated WTR-349:
------------------------------

    Fix Version/s:     (was: 1.6.7)
                   Soon

> watirspec: Buttons#last and Buttons#length fails
> ------------------------------------------------
>
>                 Key: WTR-349
>                 URL: http://jira.openqa.org/browse/WTR-349
>             Project: Watir
>          Issue Type: Sub-task
>          Components: HTML Controls
>    Affects Versions: 1.6.2
>         Environment: Watir::IE on WinXP
>            Reporter: Jari Bakken
>            Assignee: Jari Bakken
>            Priority: Major
>             Fix For: Soon
>
>
> 10)
> 'Buttons#length returns the number of buttons' FAILED
> expected: 8,
>      got: 6 (using ==)
> ./spec/watirspec/buttons_spec.rb:12:
> 11)
> Watir::Exception::UnknownObjectException in 'Buttons#last returns the last element in the collection'
> Unable to locate Button, using :index and 0
> Z:/git/watir/watir/lib/watir/element.rb:55:in `assert_exists'
> (eval):2:in `value'
> ./spec/watirspec/buttons_spec.rb:30:

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