Sha256: d5da0ba35a6bab939a8665be3398cff06fb01684e6c980fe00ced1a973f05631

Contents?: true

Size: 1.65 KB

Versions: 8

Compression:

Stored size: 1.65 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     |
    | value     |
    | index     |

  @selenium_only
  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 |
    | css       |

  Scenario Outline: Locating radio buttons using multiple parameters
    When I search for the radio button by "<param1>" and "<param2>"
    And I select the radio button
    Then the "Milk" radio button should be selected

  Scenarios:
    | param1 | param2 |
    | class  | index  |
    | name   | 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

  Scenario: Finding a radio button dynamically
    When I select the radio button while the script is executing
    Then I should see that the radio button exists
    And the "Milk" radio button should be selected

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
page-object-0.8.6 features/radio_button.feature
page-object-0.8.5 features/radio_button.feature
page-object-0.8.4 features/radio_button.feature
page-object-0.8.3 features/radio_button.feature
page-object-0.8.2 features/radio_button.feature
page-object-0.8.1 features/radio_button.feature
page-object-0.8 features/radio_button.feature
page-object-0.7.6 features/radio_button.feature