Oxygen CLI - Command-line application for running tests and generating reports.
To start working with Oxygen Command-line (cli) - you must first install the following programs:
After installing the above programs you should do the following steps:
Open the command line (cmd command)
Type the following command in the command line:
npm install -g oxygen-cli
After installation is finished, re-open your command-line.
In some cases you may need to run the installation command using sudo to provide the super-user do elevated permission
sudo install -g oxygen-cli
In case you encounter some permission errors during installation, you can try the following:
sudo npm install --unsafe-perm --verbose -g oxygen-cli
Oxygen CLI doesn't come bundled with Selenium nor Appium and requires installing them manually.
Download Selenium Standalone Server and the drivers for browsers you wish to use:
Internet Explorer - http://www.seleniumhq.org/download/
Place everything into a single directory and launch with (update selenium version if necessary):
java -Dwebdriver.chrome.driver=chromedriver.exe -Dwebdriver.ie.driver=IEDriverServer.exe -jar selenium-server-standalone-3.141.59.jar -port 4444 -timeout 320 -browserTimeout 320
If you wish to execute CLI on mobile devices you should first read Oxygen for mobile guide and installation instructions: https://docs.oxygenhq.org/download-and-installation/mobile-installation
Download a simulator for the devices (optional).