Sha256: 873f6546556fec479a8cb759e659310627102bae201f2760714d89c3efc3f857

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 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 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

  @dev
  Scenario Outline: Locating radio buttons on the Page
    When I locate the radio button by "<locate_by>"
    And I select the radio button
    Then the "Milk" radio button should be selected

    Scenarios:
    | locate_by |
    | id        |
    | class     |
    | name      |
    | xpath     |
    | 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

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

    Examples:
    | param1  | param2  |
    | class   | index   |
    | name    | index   |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
druid-ts-0.0.1 features/radio_button.feature