Table of Contents |
---|
Watch the video tutorial about how to perform offline test suite execution here:
Widget Connector | ||
---|---|---|
|
An Offline Package contains the software components to execute an offline suite without using a Qualitia Automation Studio (QAS) Client.
An offline suite is a copy of a test suite that you can save on a local machine. You can execute an offline suite on local, remote, shared drive, and cloud environments. An offline suite execution does not consume any Qualitia license.
...
Open the QAS client.
- Select the project from which you want to create an offline suite.
- From the Expand menu, click Execute.
In the left pane, select a test suite, and mark the test cases that you want to include in the offline suite, and click Save.
- Click the Save execution files button ().
Select the required execution profile from the drop-down list.
Note: For a desktop project, the System Execution Profile settings are used instead of the Execution Profile.Click the Save button().
Info |
---|
You can export the execution profiles from a Qualitia Web/Mobile project. For more information, refer to Exporting an Execution Profile. |
Configuring the Settings for an Offline Suite
...
Open the extracted QualitiaOffline file.
From the Configuration Manager folder, and double-click the Qualitia Offline Configuration Manager.
- Do one of the following;
Click Browse next to Select the Suite Directory, and then locate and select the offline suite.
Enter the location path of the offline suite folder, and press Tab.
- Under the 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.
Note: The offline suite executions that are created to automate testing on a desktop application uses the default execution profile only. - From the Mapped Profile list, select an execution profile that you want to use.
Note: The default mapped execution profile is the one that was saved while creating the offline suite. To edit the settings for the offline suite
To change the Qualitia Client settings, click the Qualitia Clienttab. For more information, refer to General Settings.
To change the values of environment variables, click the Environment Variable tab.
Note:You cannot add or edit environment keys.
You cannot add a value in the encrypted format and edit any value entered in the encrypted format.
For more information, refer to Environment Variable.
- Perform this step only if Rest Generic Headers are used in the test cases.
Do the following in the order listed:- Click the Rest Generic Header tab.
- Change the header values.
- Click Ok to Save.
To change the settings for the selected execution profile, click the Execution Profile tab.
For more information, refer toConfiguring 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.
Info |
---|
|
Executing an Offline Suite using CLI Commands
...
You can view the test suite execution report in the Real Time Reporting Portal, which updates the execution results after every test case iteration is completed.
...
For instructions on how to upload a suite execution report, refer to Uploading a Report into Real Time Reporting Portal.
Editing the Test Data for an Offline Suite
...
Open the test case from Qualitia Client. For instructions on how to open a test case from Qualitia Client, refer to Editing a Test Case.
Open the Test Data explorer to edit test data. For instructions on how to edit test data, Adding Test Data for a Test Case .
Re-create the offline suite. For instructions on how to create an offline suite, refer to Offline Package .
Editing Test Data in Test Data File of Offline Suite
...
Offline Suite Execution on a Shared Drive
...
Offline Suite Execution for Web and Mobile Applications on a Shared Drive
You can execute an offline suite present in a shared drive for web and mobile applications in one of the following ways:
...
Copy the offline package along with the offline suite to the shared drive with the read and write access.
Map the shared drive to the local computer.
Configure the offline suite as per your requirements. For detailed instructions, refer to Configuring the Settings for an Offline Suite.
Do one of the following:
Open the Command Prompt, navigate to the mapped drive location that contains the offline package and suite, and then execute the offline package using the command line.
For detailed instructions, refer to Executing an Offline Package using CLI Commands.Open the mapped drive and double-click the offline package (8.3.x jar).
...
Configure the offline suite as per the requirements. For detailed instructions, refer to Configuring the System Execution Profile Settings for a Desktop Project.
Do one of the following:
Open the command prompt, navigate to the mapped drive location that contains the offline package and offline suite, and then execute the offline suite using the command line.
For detailed instructions, refer to Configuring the Qualitia Client Settings.Navigate to the mapped drive location that contains the offline package and the offline suite, and double-click the offline package (8.3.x jar).
...
The following table shows how to execute test suite in headless mode by doing manual settings or through CLI for an offline package execution.
Method | Steps |
---|---|
Using Qualitia Client or OfflineConfigManager Utility for Offline Packages | Do in the following order listed:
|
Using CLI Command | Do in the following order listed:
|
Note |
---|
Execution using X Virtual Frame Buffer (Xvfb) on Linux is no longer supported. You can execute test cases on headless mode on Linux using any of these methods mentioned above. |
...