Test Lab
Last updated
Last updated
In Qyrus, the Test Lab serves as a versatile and efficient tool for test creation and execution within projects. It simplifies the management of test suites and streamlines the import of test scripts for efficient execution. This guide will walk you through the following:
A test suite is like a folder where you can organize and maintain your test scripts. Unlike modules, a suite can contain scripts from various modules. Test suites are useful for running multiple scripts one after the other.
Step 1: To create a test suite, go to 'Desktop Testing', select your project, and click 'Test Lab'.
Step 2: Click the 'New Test Suite' button.
Provide a 'Suite Name' and 'Suite Description'.
There's an option to 'Auto Add Test Scripts from Tags.' If you have test scripts with specific tags, you can choose to add them automatically. This can be helpful when you create a suite.
Click the 'Create New Suite' button.
Step 3: After creating the suite, go to the Test Scripts page. You'll see 'Test Lab' at the top-left corner. On the left side, you'll find the test suite count and names.
Step 4: To include a test suite in the Test Lab, click the plus icon next to the test suite counts and choose "Create New Test Suite" for each additional suite you want to create.
To edit or delete a suite, follow these steps:
1: Click the three dots next to the suite name. You'll see options for "Edit" and "Delete".
2: To edit, click "Edit".
You'll go to the suite page where you can change the name and description. Click the respective field to edit, and then click "Update Suite".
3: To delete, click "Delete".
A prompt will appear to confirm. Click "Delete Suite" to proceed and delete the suite.
Previously created Project.
Previously created Test Script.
Previously created Test Suite.
Step 1: Click the 'Import Test Script' button.
On the 'Import Scripts' page, you'll see two sections. The left section shows previously created modules, and the right section displays your test suite.
Click the desired module on the left. This allows you to select and import specific test scripts from that module into your test suite on the right.
Step 2: Use one of these methods to add scripts to the suite:
Drag and drop scripts.
Check the boxes next to individual script names or click the '+' icon next to a test script.
To import all scripts from the module, select "Select All Test Scripts".
Step 3: After selecting your test scripts, click 'Push to Suite' to add them.
Step 4: Once done, click 'Save to Suite' to finalize adding the chosen test scripts to the suite.
Step 5: To import more test scripts, click "Import Scripts" and follow the same process.
Previously created Project.
Previously created Test Script.
Previously created Sprint.
Previously created Test Suite.
Step 1: Click the plus icon next to the test suite counts on the left.
Choose the option to import from a sprint. You'll see two options: "Import from Active Sprint" and "Import from Other Sprint" (not active or started).
Select the sprint from which you want to import a suite.
Step 2: After choosing a sprint, you'll see the option to import a suite. Select the suite you want and click "Import to Test Suites."
Step 3: After importing, you'll return to the test script page. You'll see the suite count updated on the left and the scripts within the imported suite in the center.
Node registered with QloudBridge.
Previously created project
Previously created test script
Previously created test suite
Test script previously imported
Step 1: Go to the Desktop testing platform, choose your project, and click on "Test Lab."
In the project area, you'll find the "Test Lab" section, which allows you to manage and run tests from your chosen test suite.
Step 2: To run a test script, you have two options:
1. Check the box next to the script name to select it. If you want to run all the scripts, use the checkbox next to the total script count.
This enables the "Execute" button. Click it, and you can choose either "Dry Run" or "Execute Test". Your chosen scripts will undergo the selected type of execution.
2. Click the arrow button next to the total step count in a script. This takes you to the Test Steps page.
Here, you can view all the steps in the script.
To edit the script, click the edit step icon at the top right corner. You can toggle between edit and view modes.
After editing, save the script using the save button.
Click the execute button, and you'll have two options: "Dry Run," and "Execute Test". Choose one for execution.
Please refer to the Run Window section for a detailed explanation.
Step 1: Go to the Desktop testing platform, choose your project, and click on "Test Lab."
Once in the "Test Lab" section, you can initiate the execution of test suites from the test script page.
Step 2: To run a test suite, check the box next to its name. To run all suites, use the checkbox next to the total suite count.
This enables the "Execute" button. Click it, and you can choose either "Dry Run" or "Execute Test". The selected suites will undergo the chosen type of execution.
A dry run is like a practice round for a script or suite. It's a way to test basic functions before doing a full-scale operation.
After clicking 'Execute Test' or 'Dry Run,' the Run window page will appear, offering various functionalities to enhance the efficiency of test execution.
Navigation Bar: The navigation bar, located next to the hamburger icon, is used to navigate through different areas within the project hierarchy, which includes Team, Project Repository, Project, Test Lab, and Sprint.
Available Devices: This section displays devices or nodes that are connected through QloudBridge.
Please note that these nodes should be registered in the same team as the desktop-service.
Notify Me: If you want to share test results with others, you can enter their email addresses here. This step allows you to notify them about the execution outcome.
Database Query: Allows selection of database configurations created on the project setup page. To use the "execute query" action, users must select the "Data Query" card and choose a configuration.
Nodes: This section displays devices connected via QloudBridge's QyrusConnect. You can select the desired node from this list.
Summary: In this section, you'll find a summary of the functionalities that have been enabled for your test.
Choose Environment Variable: This option allows you to select an environment variable that you previously created during the project setup phase.
Sharing with Users: This indicates whether the "Notify Me" feature is enabled or not.
This shows how many users received the report by email.
Execute: You can execute your test after selecting all the necessary settings and configurations.
Afterward, you'll return to the test script page, and you'll see the updated suite name on the left panel.