for JAVA: open Terminal and type “java -version”. Output should display version of Java installed on Your computer

for Maven – open Terminal and type “mvn” and press enter. You need to see in output some dummy build process.

Installing of additional plugins

After You have installed IDEA IntelliJ You need to install additional plugins for IDEA. There are:

1. Cucumber for Java. This plugin will be required to bind Cucumber feature file (scenarios) with Java code.

2. Pipe Table Formatter. This plugin will be required to format tables in Cucumber scenarios.

How to install plugins: Go to IDEA Settings -> Plugins. Click on “Browse repositories…”. Type plugin name and click on green button “Install”. After installing both plugins You need to restart IDEA to activate the plugins.

Creating new project

Ok, now we are ready to start the creation of our first project.

Please, create new project. If You don’t have any projects in IDEA – run IDEA IntelliJ and click on Create new project like on the picture:

If You have already opened IDEA with some projects – follow steps from this picture:

Please, watch next video with detailed tutorial of how to create Maven project, build Maven pom.xml (configuration file for Maven project) and create first Java classes for test running.

Also how to create first Cucumber scenario and run it successfully.

Have a nice watching!

Now You know how to setup environment for automation testing, how to create Your first Maven project and Cucumber scenario. In the next lesson we will review how to use tables in Cucumber scenarios and what are tags and how to use them.