Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (32 sloc) 1.258 kb
Feature: Text Area
Background:
Given I am on the static elements page
Scenario: Setting and getting a value from a text area
When I type "abcdefghijklmnop" into the text area
Then the text area should contain "abcdefghijklmnop"
Scenario Outline: Locating text area on the Page
When I search for the text area by "<search_by>"
Then I should be able to type "I found it" into the area
Scenarios:
| search_by |
| id |
| class |
| name |
| xpath |
| index |
Scenario Outline: Locating a text area using multiple parameters
When I search for the text area by "<param1>" and "<param2>"
Then I should be able to type "I found it" into the area
Scenarios:
| param1 | param2 |
| class | index |
| name | index |
Scenario: Finding a text area dynamically
When I find a text area while the script is executing
Then I should see that the text area exists
And I should be able to type "I found it" into the area element
Scenario: Clearing the text area
When I type "abcdefghijklmnop" into the text area
Then the text area should contain "abcdefghijklmnop"
When I clear the text area
Then the text area should contain ""
Jump to Line
Something went wrong with that request. Please try again.