Comment on page

Running a Test Script on Windows

run a test script using oxygen-cli

Open oxygen-cli module inside node modules

Open cmd and run the following command to find your node root directory:
$ npm -g root
Once inside, enter the oxygen-cli folder and open cmd inside it, your path should look like this:
Now we're ready to run the script, type the following command:
cls && node build\lib\cli
And then the path to your script (in quotes):
cls && node build\lib\cli "C:\Users\Makeyev\Desktop\project\test.js"
Before running the test, make sure Selenium is running either in oxygen or as a standalone

Run the command

oxygen will initialize it's modules and execute the script:
and finish by showing the status
then will generate a reports folder inside your project folder with your test report as an html file