Sha256: e6c15cd6722b9d286c3fb6e094c8079fe4d0d14990d2a31f47071746610b2faf

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 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 hidden field element should contains "12345"

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

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

  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"

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.1 features/hidden_field.feature