Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vincentfree/cucumberdemo
Cucumber demo bij Atos test competence
https://github.com/vincentfree/cucumberdemo
atos cucumber java
Last synced: 19 days ago
JSON representation
Cucumber demo bij Atos test competence
- Host: GitHub
- URL: https://github.com/vincentfree/cucumberdemo
- Owner: vincentfree
- License: gpl-3.0
- Created: 2015-03-21T13:13:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-26T07:22:00.000Z (about 2 years ago)
- Last Synced: 2024-12-14T23:00:56.857Z (19 days ago)
- Topics: atos, cucumber, java
- Language: Java
- Size: 235 KB
- Stars: 0
- Watchers: 2
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CucumberDemo
Cucumber demo bij Atos test competenceBuild status: [![CircleCI](https://circleci.com/gh/vincentfree/CucumberDemo.svg?style=svg)](https://circleci.com/gh/vincentfree/CucumberDemo)
# Benodigdheden voor de demo zijn
- Java IDE met cucumber plugin.
- Selenium wordt aan de hand van de pom geimporteerd.
- Firefox (wordt als webdriver gebruikt)---
voorbeeld stukje Gerkin, hier wordt een Scenario outline gebruikt:
```cucumber
Scenario Outline: verify whether the check-out date field accepts a later date than check-in date
Given I am on the adactin site
When I set the location to ""
And I select Hotel ""
And I select Room type ""
Then the search results in an error message
Examples:
|Location |Hotels |Roomtype |
|Sydney |Hotel Creek |Standard |
|London |Hotel Sunshine|Double |
```
Voorbeeld van een normaal Scenario:
```cucumber
Scenario: verify whether locations in Select Hotel page are displayed
Given I am on the adactin site
And I log in with my credentials
And I am logged in
When I set the location to "Sydney"
And I select Hotel "Hotel Creek"
And I select Room type "Standard"
And I select the number of rooms "1"
And I select the amount of adults "1"
And I select the amount of children "0"
And the day that I check in is "0" days from now
And the day that I check out is "1" days from now
Then The right hotel should be shown
```