You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 17, 2023. It is now read-only.
Scenario: Enter Text directly
Given the test GUI application is started
When I select the "Spinners" tab
And set the "8" position for the "Buddy Control" spin
Then I should see the "8" value in the "Buddy Control" spin
Scenario: Increment/Decrement value
Given the test GUI application is started
When I select the "Spinners" tab
And set the "8" position for the "Buddy Control" spin
And increment "Buddy Control" field value
Then I should see the "9" value in the "Buddy Control" spin
When I decrement "Buddy Control" field value
Then I should see the "8" value in the "Buddy Control" spin
Scenario: Wrap around on check
Given the test GUI application is started
When I select the "Spinners" tab
And enter the "0" text into the "Lower Spin Range" field
And enter the "100" text into the "Upper Spin Range" field
And click on the "Set" button
And check the "Wrap" field
And set the "0" position for the "Buddy Control" spin
And decrement "Buddy Control" field value
Then I should see the "100" value in the "Buddy Control" spin
When I increment "Buddy Control" field value
Then I should see the "0" value in the "Buddy Control" spin
Scenario: Wrap around off check
Given the test GUI application is started
When I select the "Spinners" tab
And enter the "0" text into the "Lower Spin Range" field
And enter the "100" text into the "Upper Spin Range" field
And click on the "Set" button
And uncheck the "Wrap" field
And set the "0" position for the "Buddy Control" spin
And decrement "Buddy Control" field value
Then I should see the "0" value in the "Buddy Control" spin
When I increment "Buddy Control" field value
Then I should see the "1" value in the "Buddy Control" spin
When I set the "100" position for the "Buddy Control" spin
And increment "Buddy Control" field value
Then I should see the "100" text in the "Buddy Control" field
When I decrement "Buddy Control" field value
Then I should see the "99" text in the "Buddy Control" field
Basic operations on spin control include:
Scenario: Enter Text directly
Given the test GUI application is started
When I select the "Spinners" tab
And set the "8" position for the "Buddy Control" spin
Then I should see the "8" value in the "Buddy Control" spin
Scenario: Increment/Decrement value
Given the test GUI application is started
When I select the "Spinners" tab
And set the "8" position for the "Buddy Control" spin
And increment "Buddy Control" field value
Then I should see the "9" value in the "Buddy Control" spin
When I decrement "Buddy Control" field value
Then I should see the "8" value in the "Buddy Control" spin
Scenario: Wrap around on check
Given the test GUI application is started
When I select the "Spinners" tab
And enter the "0" text into the "Lower Spin Range" field
And enter the "100" text into the "Upper Spin Range" field
And click on the "Set" button
And check the "Wrap" field
And set the "0" position for the "Buddy Control" spin
And decrement "Buddy Control" field value
Then I should see the "100" value in the "Buddy Control" spin
When I increment "Buddy Control" field value
Then I should see the "0" value in the "Buddy Control" spin
Scenario: Wrap around off check
Given the test GUI application is started
When I select the "Spinners" tab
And enter the "0" text into the "Lower Spin Range" field
And enter the "100" text into the "Upper Spin Range" field
And click on the "Set" button
And uncheck the "Wrap" field
And set the "0" position for the "Buddy Control" spin
And decrement "Buddy Control" field value
Then I should see the "0" value in the "Buddy Control" spin
When I increment "Buddy Control" field value
Then I should see the "1" value in the "Buddy Control" spin
When I set the "100" position for the "Buddy Control" spin
And increment "Buddy Control" field value
Then I should see the "100" text in the "Buddy Control" field
When I decrement "Buddy Control" field value
Then I should see the "99" text in the "Buddy Control" field