Sha256: 3e8a55600fd4816c85ec04e83260ede77d7d7b097b8e0852f4557523fb2f6237

Contents?: true

Size: 1.26 KB

Versions: 4

Compression:

Stored size: 1.26 KB

Contents

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     |
    | css       |
    | tag_name  |
    | 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 ""

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
page-object-0.6.4 features/text_area.feature
page-object-0.6.3 features/text_area.feature
page-object-0.6.2 features/text_area.feature
page-object-0.6.1 features/text_area.feature