[Wtr-development] [JIRA] Closed: (WTR-365) watirspec: no default how for Link

Jari Bakken (JIRA) watirjira at gmail.com
Thu Oct 28 23:42:20 EDT 2010


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

Jari Bakken closed WTR-365.
---------------------------

    Resolution: Won't Fix

> watirspec: no default how for Link
> ----------------------------------
>
>                 Key: WTR-365
>                 URL: http://jira.openqa.org/browse/WTR-365
>             Project: Watir
>          Issue Type: Sub-task
>          Components: HTML Controls
>    Affects Versions: 1.6.2
>         Environment: Watir::IE on WinXP
>            Reporter: Jari Bakken
>            Priority: Major
>             Fix For: Soon
>
>
> 10)
> TypeError in 'Link#exist? returns true if the element exists (default how = :href)'
> expected [String, Regexp, Fixnum, Watir::Element], got nil:NilClass
> Z:/git/watir/watir/lib/watir/locator.rb:21:in `normalize_specifiers!'
> Z:/git/watir/watir/lib/watir/locator.rb:7:in `each'
> Z:/git/watir/watir/lib/watir/locator.rb:7:in `normalize_specifiers!'
> Z:/git/watir/watir/lib/watir/locator.rb:45:in `set_specifier'
> Z:/git/watir/watir/lib/watir/container.rb:823:in `locate_tagged_element'
> Z:/git/watir/watir/lib/watir/link.rb:24:in `locate'
> Z:/git/watir/watir/lib/watir/element.rb:279:in `exist?'
> ./spec/watirspec/link_spec.rb:28:

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