Set up your tools

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.

This is something like:

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.




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




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:
This is for reference only as it will already be in your project.




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


Other tools

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


Import and Clone your Framework

import your repository

The framework you created on the course is on the Safebear repository account. Although you can pull down your code, if you make changes you will not be able to push them to this repo anymore. In order to continue working with a remote repository, you need to copy the one you created from Safebear’s account, to your own account.

You can create your own account using any distributed remote repository. The most popular ones are GitHub and Bitbucket, both of which are free. Instructions for importing for each provider are provided below. Please choose one or the other, not both.

Bitbucket

In order to get your framework copied from the Safebear repository to yours, you’ll need to:

  1. Sign up for an account and follow instuctions to login:

    https://bitbucket.org/account/signup

  2. Go to the import repository form:

    https://bitbucket.org/repo/import

  3. In the form, enter the URL of the framework you built on the course. This will look something like:

    https://bitbucket.org/safebear-student/<yourstudentID>.git

  4. Supply any other required info, such as what you want to call your repository (you don’t need to keep the studentID) and if you want it to be private or public. Click Submit.

  5. Once the import is complete, it’ll be opened in the browser, or you can see it in your account.



GitHub

In order to get your framework copied from the Safebear repository to yours, you’ll need to:

  1. Sign up for an account and follow instructions to login:

    https://github.com/join

  2. Go to the import repository form:

    https://github.com/new/import

  3. Enter the URL of the framework you built. This will look something like:

    https://bitbucket.org/safebear-student/<yourstudentID>.git

  4. Supply any other required info, such as what you want to call your repository (you don’t need to keep the studentID) and if you want it to be private or public. Click Submit.

  5. Once the import is complete, you can select the link provided, or you’ll see it in your account.


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. For the Git Repository URL, use the https link for the remote repository. If you want to pull the code down from our remote (remember, you won’t be able to push changes back to it), it will look like this:

    https://bitbucket.org/safebear-student/<yourstudentID>.git

    If you’ve created your own account in Bitbucket or GitHub, use the link to your repository (see IMPORT YOUR REPOSITORY above)

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

  5. Choose where you want your Parent Directory to be (this can be anywhere you want on your computer) and 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. (If it asks if you want to override the .idea folder, click Yes. This is because the configuration file for IntelliJ - fonts, colours etc was pushed rather than ignored)

  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.


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