Environments and test data
Where runbooks run and with what settings, each stage's App Address, and the data rows runbooks run with.
An environment stores how runbooks run: the library they use (for example Browser for a web app), its settings such as browser, viewport and timeouts, and where it runs, on your agent’s machine or on a cloud provider. Every run on it uses the same setup.
Release stages decide which environments are used, and each stage has its own App Address, so the same runbooks check QA, Staging and Prod. Test data gives runbooks the rows they run with.
All of this lives in Project settings, which only Jira Admins and the project’s Project Admins can open. Checks by hand don’t need any of it.
Add an environment
Section titled “Add an environment”If you kept Chrome environment when you connected the project, you already have one for a desktop Chrome browser.
- Project settings›Qmpass.ai›Environments
Name it and pick a library
Section titled “Name it and pick a library”Select Add environment. Under Basics, give it an Environment name and pick a library: Browser for web apps, or another library from the list, for example for APIs or databases.
- Project settings›Qmpass.ai›Environments›New
Choose where it runs
Section titled “Choose where it runs”Under Where it runs:
- On your agent’s machine: the agent opens the browser on its own machine. The app only has to be reachable from there, so internal and local apps work. Runs use no cloud provider minutes.
- On a cloud provider: runs on your BrowserStack or LambdaTest account. Pick the Provider account, then a cell in Browser and OS. The app must be reachable from the internet, and every run, dry runs too, uses your provider minutes. This needs the Browser library, agent 1.0.15 or newer, and the Pro or Enterprise plan. See Cloud providers.
- Project settings›Qmpass.ai›Environments›New
Check the library settings
Section titled “Check the library settings”Library settings shows the settings for the library and where it runs, with their current values. Quick fill sets several values at once. Fill in any required settings, then select Create environment.
Changes to an environment apply to every release stage that uses it.
Use environments on a stage
Section titled “Use environments on a stage”Runbooks only run on environments a release stage uses. Open a stage under Project settings›Qmpass.ai›Release Stages and set:
- App Address: the full address of your app on this stage, starting with
https://orhttp://. - Test environments: the environments for automated checks on this stage. Each is Required · must pass or Optional · recorded only.
- Shared environments: environments Shared by every check on the stage, for example an API or database used alongside the browser.
See Release stages.
The environments list
Section titled “The environments list”The Environments page groups environments by what needs doing:
| Group | Means |
|---|---|
| Needs attention | Can’t run until its cloud connection is fixed, for example a refused or turned-off provider account. |
| Used by release stages | Runbooks run on it in each stage that uses it. |
| Not in a stage yet | Nothing runs on it. Add it to a stage, or delete it if you no longer need it. |
Environments at a glance shows how many are in a stage, local or cloud, and any that can’t run. Deleting an environment removes it from every stage that uses it.
Test data
Section titled “Test data”A dataset is a set of rows a runbook runs with. A runbook bound to a dataset runs once per row, with each stage’s file.
- Project settings›Qmpass.ai›Test Data
Create a dataset
Section titled “Create a dataset”Select Add dataset, give it a Dataset name and an optional description, and select Create dataset.
- Project settings›Qmpass.ai›Test Data›a dataset
Add its files
Section titled “Add its files”Upload a
.csvfile or a.pictmodel. Files must match the dataset’s columns.- The Default file applies to every release stage.
- Override the default on selected stages gives a stage its own file, for example different users on Prod.
To change the columns, use Reset schema.
Then bind the dataset in a runbook to run with its rows. See Runbooks.
The Test Data page flags datasets that need a look: one with no file for a stage a runbook uses gets no rows there. A dataset can only be deleted when no runbook uses it, and deleting it deletes its files. Dataset files count toward your project’s storage.