...
This guide will walk you through the process of setting up and executing tests offline.
📚Prerequisites:
Access to QAS - Client.
Familiarity with the project you are testing.
Custom browser profile on your computer, if required.
🔂 Process Flow
Understanding Offline Packages and Suites
If you are traveling or working in a location with unstable internet., you may need to execute tests without connecting to the QAS - Client. In such cases, an Offline Package lets you run tests without accessing QAS - Client. An offline suite is a local copy of a test suite, and it can run on various environments like local machines, remote servers, shared drives, or even cloud setups without having to use up any QAS licenses.
Create an Offline Package
Before running tests offline, you need a package containing all the necessary components. This is a one-time activity that is useful to execute any number of offline suites.
Login to QAS - Client.
Select the project for which you want to download the offline package.
From the left navigation menu, go to Execute tab.
Then, go to the Qualitia BOT.
Select a folder to save the Offline Package and click OK.
A file named Qualitia Offline.zip is generated.
To proceed, extract or unzip the Qualitia Offline.zip file.
Create an Offline Suite
The offline suite contains the associated test cases and test data, and a mapped execution profile that are used to execute it.
...
Info |
---|
By default, all desktop projects use the System Execution Profile. |
Configure Settings for Offline Suite
Similar to online tests, your offline tests also need specific settings or configurations.
...
Open the extracted Qualitia Offline file in from the previously-mentioned Create an Offline Suite procedural steps.
From the Configuration Manager folder, double-click the Qualitia Offline Configuration Manager.
Do one of the following:
Browse Next to Select the Suite Directory and locate plus select an offline suite.
Enter the location path of the offline suite folder, and press Tab.
From Select the profile to edit, select an execution profile for the test suite.
The Qualitia Offline Configuration Manager shows the offline suite name and the selected execution profile.
You can see the suite name and profile. Refer to the section Execution Profiles.
From the Mapped Profile list, select an Execution Profile you want to use.
The default Execution Profile is the one saved during offline suite creation.
You have the option to edit one or more settings, if required:
To update Qualitia Client settings, click the Qualitia Client tab.
For more information, refer to General Settings.
To change environment variables, click Environment Variable tab.
For more information, refer to Environment Variable.
To update header values, go to the Rest Generic Header tab.
Opt for this only if Rest Generic Headers are used in the test cases.
To update settings for the selected execution profile, click the Execution Profile tab.
For more information, refer to Configuring the System Execution Profile for Web and Mobile Projects: Shows the details on how to automate testing on web and mobile applications.
Configuring the System Execution Profile for Desktop Projects: Shows the details on how to automate testing on a desktop application.
Once updated, click OK to save the changes.
Execute Offline Suite using CLI Commands
The offline package runs the chosen offline suite with its set execution profile, which can be customized to override pre-configured settings.
...