Sha256: d2a32845fc1e58b5b0c54f70c58ee6739b39084b1cb142dcb62c681bf975dd35

Contents?: true

Size: 804 Bytes

Versions: 2

Compression:

Stored size: 804 Bytes

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

  Scenarios:
    | search_by |
    | id        |
    | class     |
    | name      |
    | xpath     |  
    | css       |
    | tag_name  |

  @watir_only
  Scenario Outline: Locating hidden fields on Watir only
    When I search for the hidden field by "<search_by>"
    Then hidden field element should contains "12345"

  Scenarios:
    | search_by |
    | index     |
    | text      |

Version data entries

2 entries across 2 versions & 1 rubygems

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