[Wtr-development] [JIRA] Updated: (WTR-327) watirspec: Browser#element_by_xpath should return a Watir::Element if there are no matching elements, not nil

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


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

Charley Baker updated WTR-327:
------------------------------

    Fix Version/s:     (was: 1.6.7)
                   Soon

> watirspec: Browser#element_by_xpath should return a Watir::Element if there are no matching elements, not nil
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: WTR-327
>                 URL: http://jira.openqa.org/browse/WTR-327
>             Project: Watir
>          Issue Type: Sub-task
>          Components: Xpath Support
>    Affects Versions: 1.6.2
>         Environment: Watir::IE on WinXP
>            Reporter: Jari Bakken
>            Assignee: Jari Bakken
>            Priority: Major
>             Fix For: Soon
>
>
> 9)
> NoMethodError in 'Browser#element_by_xpath will not find elements that doesn't exist'
> undefined method `exist?' for nil:NilClass
> ./spec/watirspec/browser_spec.rb

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