Sha256: a8f8ea8c1d83c772d794d88702accb196a0c302749a344e41d2d70b15df5ecad

Contents?: true

Size: 1.12 KB

Versions: 5

Compression:

Stored size: 1.12 KB

Contents

Feature: Radio Buttons
  In order to interact with radio buttons
  Testers will need access and interrogation ability

  
  Background:
    Given I am on the static elements page
  
  Scenario: Selecting and clearing a radio button
    When I select the "Milk" radio button
    Then the "Milk" radio button should be selected
    When I select the "Butter" radio button
    Then the "Butter" radio button should be selected

  Scenario Outline: Locating radio buttons on the Page
    When I search for the radio button by "<search_by>"
    And I select the radio button
    Then the "Milk" radio button should be selected

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

  @watir_only
  Scenario Outline: Locating radio buttons on Watir only
    When I search for the radio button by "<search_by>"
    And I select the radio button
    Then the "Milk" radio button should be selected

    Scenarios:
      | search_by |
      | index     |

  Scenario: Retrieve a radio button
    When I retrieve a radio button
    Then I should know it exists
    And I should know it is visible

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
page-object-0.0.5 features/radio_button.feature
page-object-0.0.4 features/radio_button.feature
page-object-0.0.3 features/radio_button.feature
page-object-0.0.2 features/radio_button.feature
page-object-0.0.1 features/radio_button.feature