Sha256: 7472481bcbf57b4da084dee0c08a5f9ed20be0dc57dd67f53c094d846341d448

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

Feature: Check Box
  In order to interact with check boxes
  Testers will need access and interrogation ability


  Background:
    Given I am on the static elements page

  Scenario: Selecting a check box
    When I select the First check box
    Then the First check box should be selected
    When I unselect the First check box
    Then the First check box should not be selected

  Scenario Outline: Locating check boxes on the page
    When I search for the check box by "<search_by>"
    Then I should be able to check the check box

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

  Scenario Outline: Locating check boxes using multiple parameters
    When I search for the check box by "<param1>" and "<param2>"
    Then I should be able to check the check box

  Scenarios:
    | param1 | param2 |
    | class  | index  |
    | name   | index  |

  Scenario: Retrieve a CheckBox
    When I retrieve a check box element
    Then I should know it exists
    And I should know it is visible
      
  Scenario: Finding a check box dynamically
    When I select the first check box while the script is executing
    Then the First check box should be selected

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
page-object-0.6 features/check_box.feature
page-object-0.5.5 features/check_box.feature