> For the complete documentation index, see [llms.txt](https://docs.oxygenhq.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oxygenhq.org/download-installation-start/start-working-with-oxygen/introduction-and-usage/running-a-test-script.md).

# Running a Test Script on Windows

## 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:

**C:\Users\Makeyev\AppData\Roaming\npm\node\_modules\oxygen-cli>**

Now we're ready to run the script, type the following command:

```bash
cls && node build\lib\cli 
```

And then the path to your script (in quotes):

```bash
cls && node build\lib\cli "C:\Users\Makeyev\Desktop\project\test.js"
```

{% hint style="info" %}
Before running the test, make sure Selenium is running either in oxygen or as a standalone
{% endhint %}

![](/files/-MKeizYH1Jts-972Vkl6)

## Run the command

![](/files/-MKemmj1KtURF1cA37Kr)

oxygen will initialize it's modules and execute the script:

![](/files/-MKekzEO7ETaaywQv_7d)

and finish by showing the status

![](/files/-MKeloZ_S-NWssij96P8)

then will generate a reports folder inside your project folder with your test report as an html file

![](/files/-MKenXrzsZiGjVtCBtPd)

![](/files/-MKenhHe0wzeDWZeDWo1)
