Set up your tools

Here are the tools you need to install on your computer in order to get your Test Automation framework working.

Chrome Browser

https://www.google.co.uk/chrome/browser/desktop/

Tips:
Follow the online instructions to download and install.


Java 8 JDK

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

NOTE: You MUST install the jdk NOT the jre.

Tips:
You need to set your JAVA_HOME environment variable to point at your Java 8 directory. For example:

C:\Program Files\Java\jdk1.8.0_131

Add the Java bin directory to your PATH environment variable:

%JAVA_HOME%\bin

There are different ways of getting to the environment variables depending on your operating system version, Google ‘environment variables for java installation’ to check what you need to do for yours.


Git

https://git-scm.com/download/win

Tips:
Follow the online instructions to download and install.


ChromeDriver

https://sites.google.com/a/chromium.org/chromedriver/

Tips:
Extract the zip file and place in C:\Windows (ensure this location is in your PATH environment variable). You need admin privileges for this.


Selenium Standalone Server

http://www.seleniumhq.org/download/

Tips:
Download and place on your desktop.


Maven

https://maven.apache.org/install.html

Tips:
Extract the zip file and this time set your PATH environment variable to point at the bin directory of Maven. It will look something like the following:

C:\Program Files (x86)\apache-maven-3.5.0\bin

IntelliJ IDEA

https://www.jetbrains.com/idea/download/#section=windows

Tips:
Follow the online instructions to download and install. You will also need to install the Lombok and Cucumber plugins.

https://www.jetbrains.com/help/idea/managing-plugins.html


Jenkins

https://jenkins.io/doc/book/installing/

Tips:
Follow the online instructions to download and install.


Postman

https://www.getpostman.com/apps

Tips:
Follow the online instructions to download and install.


Switchy Omega

https://chrome.google.com/webstore/detail/proxy-switchyomega/padekgcemlokbadohgkifijomclgjgif?hl=en

Tips:
Follow the online instructions to download and install.


Other tools

Instructions for dependencies and plugins are provided in the manuals, or included in your repository at the end of the course


Clone your Framework

Clone your repository

In order to pull down the framework you have created:

  1. Start IntelliJ.

  2. Select Checkout from Version Control and choose Git.

  3. Enter the HTTPS URL from YOUR repository in GitHub. This will look something like this:

    https://github.com/safebear-student/toolslisttestautomation.git

  4. Click the Test button to make sure you have the URL correct and access is allowed.

  5. Click on Clone.

  6. This will now pull down the code as we did on the course, at the next pop-up click Yes to open the project and any other pop-ups that appear.

  7. Give it time to open and resolve the dependencies. After a few minutes, if you still can’t see your project, click Alt+F1 or go to View -> Tool Windows -> Project. This should open the project window.

  8. Expand the folders in your Project window until you can see RunCucumberTest. Run it to check everything cloned successfully.


Keep in Touch

Slack

Safebear slack invite

This is a group chat that includes some of our instructors.

We constantly want to improve our courses and keep them relevant to your job, so we hugely value your feedback.

Call or email us

EMAIL: hello@safebear.co.uk
PHONE: 02921 28 0321

Send us a message

Name *
Name