Sha256: b1fbdcc3bc044c005b8107dce144bd45b07bea43879d475ffad9292263800d68

Contents?: true

Size: 1.22 KB

Versions: 13

Compression:

Stored size: 1.22 KB

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  |
    | index     |

  Scenario Outline: Locating a text field using multiple parameters
    When I search for the text field by "<param1>" and "<param2>"
    Then I should be able to type "I found it" into the field

  Scenarios:
    | param1 | param2 |
    | class  | index  |
    | name   | 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

  Scenario: Finding a text field dynamically
    When I find a text field while the script is executing
    Then I should be able to type "I found it" into the field element

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
page-object-0.5.3 features/text_field.feature
page-object-0.5.2 features/text_field.feature
page-object-0.5.1 features/text_field.feature
page-object-0.5.0 features/text_field.feature
page-object-0.4.4 features/text_field.feature
page-object-0.4.3 features/text_field.feature
page-object-0.4.2 features/text_field.feature
page-object-0.4.1 features/text_field.feature
page-object-0.4.0 features/text_field.feature
page-object-0.3.2 features/text_field.feature
page-object-0.3.1 features/text_field.feature
page-object-0.3.0 features/text_field.feature
page-object-0.2.5 features/text_field.feature