SprintsQ Agent is an npm package that needs to be installed in your local machine in order to execute the test cases created in SprintsQ.
Node.js of version 16 or higher should be installed on your machine.
SprintsQ Agent binds the Playwright browser binaries and Playwright core, along with the functions for executing the test scripts. Basically, the SprintsQ agent runs on port 5000, and currently, we don't provide custom port selection.
npm install -g sprintsq@latest
The above command installs the SprintsQ agent globally on your local machine.
To start the SprintsQ Agent, use the following command:
Once the SprintsQ Agent is started, you can begin running the test cases directly from your browsers without any additional configurations.
Each test executed will be displayed in the command line along with their test status. Every test executed locally is also tracked in SprintsQ with a detailed report, which helps with better tracking.
If a URL is only accessible from your local machine (e.g., http://localhost:3000), SprintsQ agent can still access the URL since it is hosted internally on your machine. This eliminates the need for using tunnels like ngrok.
The SprintsQ agent provides the advantage of executing test cases by any team member. You don't have to rely on the testing team for test execution or setting up the test environment. Please also check out SprintsQ Cloud.