Sha256: 5e4806659c1677f36648de4fb018cf345d6b33f97d9cc29c6bb5d226a6f6dbda

Contents?: true

Size: 1.46 KB

Versions: 8

Compression:

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

  @selenium_only
  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 |
    | css       |

  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

8 entries across 8 versions & 1 rubygems

Version Path
page-object-0.8.6 features/text_area.feature
page-object-0.8.5 features/text_area.feature
page-object-0.8.4 features/text_area.feature
page-object-0.8.3 features/text_area.feature
page-object-0.8.2 features/text_area.feature
page-object-0.8.1 features/text_area.feature
page-object-0.8 features/text_area.feature
page-object-0.7.6 features/text_area.feature