Sha256: e62aa5cbf800baa83e37037639f857daf266501326a222ab2a6fa746898480b8

Contents?: true

Size: 1.56 KB

Versions: 2

Compression:

Stored size: 1.56 KB

Contents

Feature: Select List
  In order to interact with select lists
  Testers will need access and interrogation ability

  Background:
    Given I am on the static elements page

  Scenario: Selecting an element on the select list
    When I select "Test 2" from the select list
    Then the current item should be "option2"

  Scenario Outline: Locating select lists on the Page
    When I locate the select list by "<locate_by>"
    Then I should be able to select "Test 2"
    And the value for the selected item should be "option2"

    Examples:
    | locate_by |
    | id        |
    | class     |
    | name      |
    | xpath     |
    | index     |
  #  | value     |
  #  | text      |

  Scenario: Retrieve a select list
    When I retrieve a select list
    Then I should know it exists
    And I should know it is visible

  @dev
  Scenario: Iterating through the options in the select list
    When I search for the select list by "id"
    Then option "1" should contain "Test 1"
    And option "2" should contain "Test 2"
    And each option should contain "Test"

  @multi
  Scenario Outline: Locating a select list using multiple parameters
    When I search for the select list bys "<param1>" and "<param2>"
    Then I should be able to select "Test 2"
    And the value for the selected item should be "option2"

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

  @locator
  Scenario: Finding a select list dynamically
    When I find a select list while the script is executing
    Then I should be able to select "Test 2" from the list

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.1.1 features/select_list.feature
druid-ts-1.1.0 features/select_list.feature