Skip to content

YuriiChere/tutorial-selenium-java-ultrafastgrid

 
 

Repository files navigation

Pre-requisites:

  1. Java is installed on your machine.

  2. Maven is installed on your machine, JAVA_HOME environment variable is created, path to Maven is added to environment variable PATH

  3. Chrome browser is installed on your machine.

  4. Chrome Webdriver is on your machine and is in the PATH. Here are some resources from the internet that'll help you.

  5. Git is installed on your machine.

  6. IDE (IntelliJ IDEA for example) is installed on your machine.

    • Install IntelliJ IDEA

      6.1 Set Project SDK to your JDK (installed in Step 1) in Intellij - File > Project Structure > Project.

  7. Restart your machine to implement updated environment variables (need for some OS).

Steps to run this example

  1. Git clone this repo

    • git clone https://github.com/applitools/tutorial-selenium-java-ultrafastgrid.git, or download this as a Zip file and unzip it
  2. Get an API key by logging into Applitools > Person Icon > My API Key

  3. Navigate to just cloned folder tutorial-selenium-java-basic.

  4. Import the project as a Maven project in IntelliJ IDEA.

  5. Navigate to AppTest class - src\test\java\com\applitools\quickstarts\AppTest in IntelliJ IDEA.

  6. In IntelliJ IDEA or in any editor update file src\test\java\com\applitools\quickstarts\AppTest.java and set your ApiKey in string 'config.setApiKey("...")' (or comment the string and set APPLITOOLS_API_KEY environment variable)

  7. Run class AppTest from IntelliJ IDEA - tap Run, choose 'AppTest'.

Read more here: https://www.applitools.com/tutorials/selenium-java.html

About

Selenium Java tutorial with UltrafastGrid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%