History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WTR-168
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jason
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Watir

The :after? tag doesn't appear to apply to input elements, buttons, text_fields, and frames.

Created: 18/Jul/07 03:32 AM   Updated: 24/Nov/08 02:04 PM
Component/s: HTML Controls
Affects Version/s: 1.5.0/1.5.1
Fix Version/s: Soon

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
The :after? tag doesn't appear to apply to input elements, buttons, text_fields, and frames.

As an example, the following fails to find the relevant text_field:

   require 'watir'
   ie=Watir::IE.start("http://news.bbc.co.uk/")
   ie.text_field(:after?, ie.button(:id, "toolbar-search-button")).flash

Whereas, these individual elements CAN be found:
   ie.button(:id, "toolbar-search-button").flash
or an alternative way of finding the text_field:
   ie.text_field(:id, "toolbar-search-input").flash

( From the following mailing list discussion: http://rubyforge.org/pipermail/wtr-general/2007-July/011747.html )


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.