Sha256: f4a232873ab8de222360b9229b2f35d63460df1dc3158b8b02a79e12fdc7a8a6

Contents?: true

Size: 1.23 KB

Versions: 12

Compression:

Stored size: 1.23 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     |
    | 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

12 entries across 12 versions & 1 rubygems

Version Path
page-object-0.7.5.1 features/text_area.feature
page-object-0.7.5 features/text_area.feature
page-object-0.7.4 features/text_area.feature
page-object-0.7.3 features/text_area.feature
page-object-0.7.2 features/text_area.feature
page-object-0.7.1 features/text_area.feature
page-object-0.7.0 features/text_area.feature
page-object-0.6.9 features/text_area.feature
page-object-0.6.8 features/text_area.feature
page-object-0.6.7 features/text_area.feature
page-object-0.6.6 features/text_area.feature
page-object-0.6.5 features/text_area.feature