[Wtr-development] [JIRA] Updated: (WTR-357) watirspec-pending: `Browser#{body, bodies}` not implemented

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


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

Charley Baker updated WTR-357:
------------------------------

    Fix Version/s:     (was: 1.6.7)
                   Soon

> watirspec-pending: `Browser#{body,bodies}` not implemented
> ----------------------------------------------------------
>
>                 Key: WTR-357
>                 URL: http://jira.openqa.org/browse/WTR-357
>             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
>             Fix For: Soon
>
>
> 76)
> NoMethodError in 'TableBody#exists returns true if the table body exists (page context)'
> undefined method `body' for #<Watir::IE:0x3e539d8>
> ./spec/watirspec/table_body_spec.rb:12:
> 78)
> NoMethodError in 'TableBody#exists returns true if the element exists (default how = :id)'
> undefined method `body' for #<Watir::IE:0x3e539d8>
> ./spec/watirspec/table_body_spec.rb:30:
> 79)
> NoMethodError in 'TableBody#exists returns false if the table body exists (page context)'
> undefined method `body' for #<Watir::IE:0x3e539d8>
> ./spec/watirspec/table_body_spec.rb:35:
> 80)
> 'TableBody#exists raises TypeError when 'what' argument is invalid' FAILED
> expected TypeError, got #<NoMethodError: undefined method `body' for #<Watir::IE:0x3e539d8>>
> ./spec/watirspec/table_body_spec.rb:53:
> 81)
> 'TableBody#exists raises MissingWayOfFindingObjectException when 'how' argument is invalid' FAILED
> expected Watir::Exception::MissingWayOfFindingObjectException, got #<NoMethodError: undefined method `body' for #<Watir::IE:0x3e539d8>>
> ./spec/watirspec/table_body_spec.rb:58:
> 82)
> NoMethodError in 'TableBody#length returns the correct number of table bodies (page context)'
> undefined method `body' for #<Watir::IE:0x3e539d8>
> ./spec/watirspec/table_body_spec.rb:65:
> 83)
> NoMethodError in 'TableBody#length returns the correct number of table bodies (table context)'
> undefined method `length' for nil:NilClass
> Z:/git/watir/watir/lib/watir/table.rb:256:in `length'
> ./spec/watirspec/table_body_spec.rb:70:
> 84)
> NoMethodError in 'TableBody#[] returns the row at the given index (page context)'
> undefined method `body' for #<Watir::IE:0x3e539d8>
> ./spec/watirspec/table_body_spec.rb:77:
> 72)
> NoMethodError in 'TableBodies#length returns the correct number of table bodies (page context)'
> undefined method `bodies' for #<Watir::IE:0x3e539d8>
> ./spec/watirspec/table_bodies_spec.rb:12:
> 73)
> NoMethodError in 'TableBodies#[] returns the row at the given index (page context)'
> undefined method `bodies' for #<Watir::IE:0x3e539d8>
> ./spec/watirspec/table_bodies_spec.rb:22:
> 74)
> NoMethodError in 'TableBodies#each iterates through table bodies correctly (table context)'
> undefined method `bodies' for #<Watir::IE:0x3e539d8>
> ./spec/watirspec/table_bodies_spec.rb:34:

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