How to use Katalon DevOps plugin for Jenkins on Windows
Katalon TestOps CI is an easier way to execute Katalon Studio tests remotely or schedule remote Katalon Studio execution. Learn more
This tutorial shows you how to install and run Katalon DevOps – Jenkins plugin for Web UI testing on Windows platform.
- Installing Jenkins on Windows
- An active Katalon Runtime Engine license
Install Katalon DevOps plugin
Go to Manage Jenkins > Manage Plugins > Available tab and search for the Katalon DevOps plugin.
Select the plugin and click Install.
Create and configure a new Jenkins project
Now go back to the top page, you can start using the plugin right away.
Click on New Item
To keep it simple, let's make it a freestyle project.
Specify your workspace (here you can use a Git repository).
A sample Katalon Studio a project is available on Github.
Add and configure the build step: Execute Katalon Studio tests.
Katalon Studio will be downloaded and installed automatically based on the version you specify.
Troubleshoot empty videos recorded after running tests
If you encounter an issue of having empty videos recorded after running your tests on Jenkins, it is because the Web Driver hasn't launched during test execution. To fix this issue, please uninstall Jenkins of Windows services, and replace it by a DOS batch file containing the following codes:
cd D:\Tools\Jenkins //path to Jenkins folder java -jar --webroot=jenkins.war
Credit to Sébastien Taniere and his original topic.