medwards/salad — pull request #5 by beanqueen (2013-07-23 08:38:50+00:00)
Title: Random generator

makes this here possible:

Scenario Outline: Filling in a field with random content and recalling the content
Given I visit the salad test url "browser/form.html"
And I look around
Then I fill in the 1st field named "fill_me_in" with a random of length 10
And I fill in the 2nd field with the xpath "//div[@id='fill_in']/input" with a random
And I should see my random value in the 2nd field with the xpath "//div[@id='fill_in']/input"
And I should see my random value in the 1st field named "fill_me_in"

Examples:
| thing |
| string |
| name |
| restaurant name |
| email |