Sha256: 3e82469735a38277823483e6c1ef8831c2042babee0370a377eda9fa7a83f742

Contents?: true

Size: 988 Bytes

Versions: 3

Compression:

Stored size: 988 Bytes

Contents

Feature: Text Fields
  In order to interact with text fields
  Testers will need access and interrogation ability

  
  Background:
    Given I am on the static elements page
  
  Scenario: Setting and getting a value from a text field
    When I type "abcDEF" into the text field
    Then the text field should contain "abcDEF"

  Scenario Outline: Locating text fields on the Page
    When I search for the text field by "<search_by>"
    Then I should be able to type "I found it" into the field

  Scenarios:
    | search_by |
    | id        |
    | class     |
    | name      |
    | xpath     |  
    | css       |
    | tag_name  |

  @watir_only
  Scenario Outline: Locating text fields on Watir only
    When I search for the text field by "<search_by>"

  Scenarios:
    | search_by |
    | index     |
    | text      |
    | value     |

  Scenario: Retrieve a text field
    When I retrieve a text field
    Then I should know it exists
    And I should know it is visible

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
page-object-0.0.3 features/text_field.feature
page-object-0.0.2 features/text_field.feature
page-object-0.0.1 features/text_field.feature