Skip to content

applitools/example-selenium-java-cucumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Applitools Example: Selenium in Java with Cucumber

This is the example project for the Selenium Java Cucumber tutorial. It shows how to start automating visual tests with Applitools Eyes and Selenium WebDriver in Java.

It uses:

It can also run tests with:

To run this example project, you'll need:

  1. An Applitools account, which you can register for free.
  2. The Java Development Kit (JDK), version 8 or higher.
  3. A good Java editor, such as JetBrains IntelliJ IDEA.
  4. Apache Maven (typically bundled with IDEs).
  5. An up-to-date version of Google Chrome.
  6. A corresponding version of ChromeDriver.

The main scenario is AcmeBank.feature. Its step definitions are located in AcmeBankSteps.java. By default, the project will run tests with Ultrafast Grid but not Execution Cloud. You can change these settings in the test class.

To execute tests, set the APPLITOOLS_API_KEY environment variable to your account's API key, and then run:

mvn test

For full instructions on running this project, take our Selenium Java Cucumber tutorial!