This is a Code42 Code Sample for interview. This project consist of Selenium and Sikuli, there is only two parts of the framework, It navigates in Firefox to CrashPlan Download and downloads the application It signs up for CrashPlan There is no installation hence sikuli misbehaves with instillation wizards and also there is no need to automate installations for this type of testing.
There is a few pre-request required for this program to run,
-
Needs to be a Windows machine, with a single physical monitor attached
-
The Windows machine needs to have java 1.7 or higher installed.
-
Needs internet connection
-
Firefox 38 or lower needs to be installed in the machine
-
Assumes that CrashPlan is already installed under [C:\Program Files (x86)\CrashPlan] and no user has logged in
i) I decided not to automate the install for two reasons
a)Sikuli does not behave accordingly with setups exe
b)Setups/Installations are usually never part of Automation
-
Project needs to be loaded into Intellij Idea by Jetbrains
-
Project needs to be ran once, and it will fail, log out of the user session of windows, and log back in.
i) This sets up the sikuli paths for windows.
-
Re Run the project