Sha256: 9357b36212a6176243d379a76289024b76194d783277b02b9cfe5f607d369169

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 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"

  @dev
  Scenario Outline: Locating text fields on the Page
    When I locate the text field by "<locate_by>"
    Then I should be able to type "I found it" into the field

    Examples:
    | locate_by |
    | id        |
    | class     |
    | name      |
    | xpath     |
    | css       |
    | tag_name  |
    | index     |
    | text      |
    | title     |

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

  @multi
  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

    Examples:
    | param1  | param2  |
    | class   | index   |
    | name    | index   |

  @locator
  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

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.1.1 features/text_field.feature
druid-ts-1.1.0 features/text_field.feature