Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (36 sloc) 1.303 kB
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 I should see that the checkbox exists
And the First check box should be selected
Jump to Line
Something went wrong with that request. Please try again.