Sha256: 9a40eb238064a0c571dba219e9b2a1af3406673100fdcd25ca1123b56e8a4143

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

Feature: Hidden Fields

  Background:
    Given I am on the static elements page

  Scenario: Getting a value from a hidden field
    When I retrieve the hidden field element
    Then I should see the hidden field contains "12345"

  Scenario Outline: Locating hidden fields on the Page
    When I locate the hidden field by "<locate_by>"
    Then hidden field element should contains "12345"

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

  @multi
  Scenario Outline: Locating a hidden field using multiple parameters
    When I search for the hidden field by "<param1>" and "<param2>"
    Then hidden field element should contains "12345"

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

  @locator
  Scenario: Finding a hidden field dynamically
    When I find a hidden field while the script is executing
    Then I should see that the hidden field exists
    And hidden field element should contains "12345"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.1.3 features/hidden_field.feature
druid-ts-1.1.2 features/hidden_field.feature