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

Key: WTR-126
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Bret Pettichord
Votes: 0
Watchers: 0
Operations

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

Simple Block Syntax to make quick-scripts more concise

Created: 17/Jan/07 09:06 PM   Updated: Monday 04:35 PM
Component/s: None
Affects Version/s: 1.5.0/1.5.1
Fix Version/s: Soon

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Dependency
 
This issue is depended on by:
WTR-129 Automatically wrap watir commands in ... Major Open
WTR-128 Create a "watir" script that can exec... Trivial Closed
WTR-130 Allow "watir" command (and block synt... Trivial Closed
Relationship
 
This issue Relates to:
WTR-127 Make it easier to use write simple te... Major Open


 Description  « Hide
  Watir::IE.new do
    goto('http://www.google.com')
    text_field(:name, 'q').set 'ruby'
    button(:name, 'btnG').click
  end

the block is evaluated in the context of a new IE object (using instance_eval)

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