sprintsq
v1.0.21
Published
sprintsq agent to run test cases
Downloads
6
Readme
SprintsQ Agent
Introduction
This package needs to be installed in local your machine in order to execute the test cases created in SprintsQ. This package 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.
Getting Started
To start the SprintsQ agent, use the following command:
sprintsq start
The above command is used to start the SprintsQ agent locally.
Once the SprintsQ agent is started, you can begin running the test cases directly from your browsers without any additional configurations.
Configuration Options
- Browser Selection: You can choose the browser (Chromium, Firefox, Webkit)
- Headless vs. Headful Mode: You can choose whether the tests should be executed in headless mode or headful mode. In headless mode, the tests won't be visible in the UI, which is optimized for faster executions. In headful mode, you can check the test executions in the UI.
- Action Speed Control: You can control the speed of each action. Usually, actions will be performed once the browser opens the page. This option is only available in headful mode.
Test Execution and Reporting
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.
Advantages
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.
Support
If you need any help installing the SprintsQ agent, please feel free to contact us. If you encounter any issues with the SprintsQ agent, please report them, and we will fix them promptly.