GithubHelp home page GithubHelp logo

vincentfree / cucumberdemo Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 16.0 241 KB

Cucumber demo bij Atos test competence

License: GNU General Public License v3.0

Java 63.46% Gherkin 36.54%
java cucumber atos

cucumberdemo's Introduction

CucumberDemo

Cucumber demo bij Atos test competence

Build status: CircleCI

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:

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 "<Location>"
  And I select Hotel "<Hotels>"
  And I select Room type "<Roomtype>"
  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:

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

cucumberdemo's People

Contributors

vincentfree avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.