Ranorex Test Execution0.0.1Minimum Jenkins requirement: 1.625.3ID: ranorex-integration
This plugin provides an easy way to run a Ranorex test suite as a build step in your Jenkins job. You can run a test suite as is without any need for configuration, or you can make several different advanced settings.
- Open Jenkins and click "Manage Jenkins".
- Click "Manage Plugins".
- Switch to the "Available" tab and search for “Ranorex” in the filter box.
- Check the box next to the plugin and click “Install without restart”.
Using the plugin
- Add a new build step in your Jenkins job configuration (please refer to the Jenkins documentation for details on how to do so).
- Select “Run a Ranorex test suite” from the drop-down menu
- In the field next to “Ranorex test suite file”, enter the path to the test suite file (*.rxtst) located in the output folder of your solution.
- Finally, save your changes to the Jenkins job configuration.
The test suite is now ready and can be run as a build step in your Jenkins job. You can also make additional advanced settings.
Once you have provided the path to your Ranorex test suite file, click on “Advanced…” below the path field. The following settings will appear. Configure them according to your requirements and save your Jenkins job configuration to activate them.
Ranorex run configuration
Runs the test suite using one of the run configurations available in the test suite. Enter the exact name of the run configuration you want to use. By default, the run configuration currently selected in the test suite is used.
If you want to create or edit run configurations, please use Ranorex Studio or the Ranorex Test Suite Runner.
Ranorex report directory
Allows you to specify the directory that your report will be saved to. If you don’t specify a path, the directory where your test executable is located will be used.
Ranorex report file name
Allows you to specify the file name of the report with the standard placeholders available in the test suite settings. By default, the file name specified in the test suite settings is used (for example: %S_%Y%M%D_%T.rxlog).
If enabled, Ranorex will create both a JUnit-compatible report and a Ranorex report.
Compressed copy of Ranorex report
Compresses the report and the associated files into a single archive with the .rxzlog extension. The following additional input fields will appear when this option is enabled:
Compressed report directory
Allows you to specify the directory that your compressed report will be saved to. If you don’t specify a path, the directory where your test executable is located will be used.
Compressed report file
Allows you to specify the file name of the compressed report with the standard placeholders available in the test suite Settings. By default, the file name specified in the test suite settings is used (for example: %S_%Y%M%D_%T.rxlog).
Allows you to create or override values for global parameters set in the test suite.
Enter parameters according to the following pattern: "ParameterName=Value"
Separate parameters with semicolons or newlines.
Command line arguments
Allows you to add Ranorex command line arguments. Some of the most important ones include: