You can pass the JVM system properties when executing test cases using Qualitia Bot. These properties can be passed in two ways;
Configuring qualitiasystem.properties File
In order to use JVM properties when executing test cases using Qualitia Bot, you must configure the qualitiasystem.properties accordingly. This file is located in the Config folder of the Qualitia Bot.
To configure qualitiasystem.properties:
- Navigate to the Config folder of Qualitia Bot.
- Open qualitiasystem.properties.
- Add JVM properties in Key=Value pairs.
- Save the changes and close the file.
These properties will be considered when executing test cases.
Providing Qualitia System Properties from Command Line
You can provide Qualitia system properties from the command line interface as well.
When providing Qualitia system properties from the Command Line Interface, you must add suffix to the properties as -qsp: key=value.
Values provided through Command Line Interface override properties specified in the qualitiasystem.properties file.
You can set these Qualitia System Properties for the test cases being executed from Qualitia. In order to do so, you must add these properties under the System Properties section. For more information about this, refer to the Configuring Qualitia System Properties for Suite Execution section.