Sha256: a5564d85073b9a963b87bf8e9f9d1c9ecd532c3b0b97419ac5e6503f121a5cd2

Contents?: true

Size: 1.1 KB

Versions: 4

Compression:

Stored size: 1.1 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 search for the select list by "<search_by>"
    Then I should be able to select "Test 2"
    And the value for the selected item should be "option2"

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

  @watir_only
  Scenario Outline: Locating select lists on Watir only
    When I search for the select list by "<search_by>"
    Then I should be able to select "Test 2"
    And the value for the selected item should be "option2"

    Scenarios:
      | search_by |
      | 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

Version data entries

4 entries across 4 versions & 1 rubygems

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