Sha256: 02175d096dc3819de006b68758cc2d3cdfb21adb2c0247e03e8e02be1c8fcf03

Contents?: true

Size: 1.27 KB

Versions: 38

Compression:

Stored size: 1.27 KB

Contents

Feature: Hidden Fields

  Background:
    Given I am on the static elements page

  Scenario: Setting and 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 search for the hidden field by "<search_by>"
    Then the hidden field element should contain "12345"

  Scenarios:
    | search_by |
    | id        |
    | class     |
    | name      |
    | xpath     |
    | index     |
    | text      |
    | value     |

  @selenium_only
  Scenario Outline: Locating hidden fields on the Page
    When I search for the hidden field by "<search_by>"
    Then the hidden field element should contain "12345"

  Scenarios:
    | search_by |
    | css       |

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

  Scenarios:
    | param1 | param2 |
    | class  | index  |
    | name   | index  |

  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 the hidden field element should contain "12345"

Version data entries

38 entries across 38 versions & 4 rubygems

Version Path
page-object-0.9.4 features/hidden_field.feature
page-object-0.9.3 features/hidden_field.feature
page-object-0.9.2 features/hidden_field.feature
page-object-0.9.1 features/hidden_field.feature
page-object-0.9.0 features/hidden_field.feature
page-object-0.8.10 features/hidden_field.feature
page-object-0.8.9 features/hidden_field.feature
page-object-0.8.8 features/hidden_field.feature
page-object-0.8.7 features/hidden_field.feature
page-object-0.8.6.1 features/hidden_field.feature
page-object-0.8.6 features/hidden_field.feature
page-object-0.8.5 features/hidden_field.feature
page-object-0.8.4 features/hidden_field.feature
page-object-0.8.3 features/hidden_field.feature
page-object-0.8.2 features/hidden_field.feature
page-object-0.8.1 features/hidden_field.feature
page-object-0.8 features/hidden_field.feature
page-object-0.7.6 features/hidden_field.feature