[KShare] How to Execute Katalon Tests from TestOps Using Katalon Command-Line Arguments?

Hi Community members, :wave:

When considering the use of Katalon command line arguments for running tests, we often assume they are only applicable when executing tests through CI/CD tools. However, these command line arguments can also be utilized when running tests via Katalon TestOps .

In this article, we’ll explain how you can effectively use Katalon command line arguments within the TestOps platform to optimize your test executions.

Prerequisites :information_source:

  1. Please help to integrate your project repository on TestOps and also clone the same project repository on Katalon Studio. Your same project should be available on Katalon Studio and TestOps:
  1. The first critical step in determining how to execute tests in TestOps is to select the appropriate execution environment. You have two primary options:

Video Demo

Step-by-step instructions

  1. You can open your project in Katalon Studio and click on the “Build Command“ Icon like below:

  1. Then please help to select your Test Suite or Collection, Organization and your project and click on “Generate TestOps CI Command“:

  1. Please help to copy the generated command

  2. Now, go to your TestOps Organization: https://testops.katalon.io/

  3. Click on the “Executions“ tab in the middle and then click on “Schedule Test Run“

  4. Inside “Schedule Test Run“ window, please select your project repository in front of “Script Repository“:

  1. Click on “Katalon Command“ option and paste your copied command inside like below example:

  1. Now you just have to choose the “Environment“ where you want the tests to run on. To do that, just click on “Select Environment“ dropdown and then click on “More Options“:
  • To select the TestCloud environment, you can select like below:

  • Or to select the “Local Agent“ you can select like below:

  1. Finally, you can click “Save” and then "Run’!

Great Job! You have triggered a test from TestOps using the Katalon command line arguments.


If you find this article helpful, then don’t forget to leave us a like :+1: or a heart :heart: and share it with your colleagues and teammates! We greatly appreciate your support for KShare!

2 Likes

It’s always inspirational to see the Product Support team coming back with more KShare articles! And, thank you very much Bhavyansh Ameta (@bhavyansh.ameta) for sharing your Katalon know-how with us in this article!

Bhavyansh Ameta (@bhavyansh.ameta) - Junior Product Support Specialist
Bhavyansh is a Junior Product Support Specialist at Katalon who utilizes his technical expertise to assist users with intelligent solutions. His passion for delivering exceptional support is not just about providing answers but fostering a positive and empowering user experience.
2 Likes

Thanks for the nice Kshare article!!