Sha256: c6525521271a9e25bd96e7d520b0aea7f92febf1af14f3edf4a55b76679daacd

Contents?: true

Size: 1014 Bytes

Versions: 2

Compression:

Stored size: 1014 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>"
    Then I should be able to type "I found it" into the field

  Scenarios:
    | search_by |
    | index     |

  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

2 entries across 2 versions & 1 rubygems

Version Path
page-object-0.0.5 features/text_field.feature
page-object-0.0.4 features/text_field.feature