Skip to main content

Katalon Studio - pCloudy integration

Note:
  • Please note that the use case presented here is a suggestion only and should be implemented with caution. It has not undergone quality assurance testing and is not officially supported by our platform.

Katalon Studio enables you to perform automated Mobile and Web Testing by creating codeless automation scripts with a powerful record and playback feature. Integrating Katalon Studio with pCloudy will help you run your existing scripts on 5000+ browser and device combinations.

Running Katalon Tests on pCloudy Device Cloud

  • User must have a registered pCloudy account.
  • Mobile Application must be uploaded to the My Data section on pCloudy portal.
  • Katalon Studio
  1. You can open an existing project on Katalon Studio. In this example we are using a sample test case using Mobile keywords, where we Launch an Android application, then click at two elements and close the application.
    You will need to provide the application name for the Input of Start Application Keyword.input keyword in Katalon Studio
  2. To generate the capabilities, the user can use the Capability Configurator from the pCloudy platform as shown below.pCloudy capability configurator
    Note:
    • The URL for the device cloud is included with the capabilities.

    • Make sure the selected device is available on the device cloud before running the script.

    • You can also get the API key from the profile section on the pCloudy platform as mentioned below.

  3. To add the capabilities on Katalon remote server, navigate to Project > Settings > Desired Capabilities > Remote.Katalon Studio remote server
  4. Now choose Remote from the Run options.Katalon Studio remote run
  5. Now the mentioned device from the capabilities will be acquired on the pCloudy platfrom and the scripts will be executed. You will be able to view the live session under My Active Sessions on the pCloudy platform. pCloudy - my Active Sessions

Using Katalon Studio’s Record Mobile Feature on pCloudy Devices

  1. Choose Remote Devices from the Record Mobile. Katalon Studio remote devices
  2. Provide the Application name for the Cloud Application ID and click on Start. Katalon Studio Cloud Application ID
  3. Now you can record the steps on the application via pCloudy device and create the steps for the test and all the objects will be stored inside Object Repository on Katalon.
    Here we are choosing the Accept icon from the application and performing a Tap action on it. Katalon Studio record test stepThe recorded objects will be stored into Object Repository as shown below in Katalon Studio. Katalon Studio object repository

Running Katalon Tests on pCloudy Browser Cloud

  1. Open an existing project on Katalon which you want to Execute. In this example we are using a sample test case with Web UI Keywords, where we open a browser and navigate to an URL and close the browser. Katalon Studio - Web UI test case
  2. To add the capabilities for Browser Cloud on Katalon remote server, navigate to Project > Settings > Desired Capabilities > Remote.
    For our example, connect to a Chrome browser on Windows OS with the capabilities in the screenshot below: Katalon Studio remote server capabilitiesFor apiKey capabilitiy, you can get the Browser Cloud URL and API Key from the profile section on the pCloudy platform.
    Note:
    • The URL for the browser cloud is https://prod-browsercloud-in.pcloudy.com/seleniumcloud/wd/hub.
    • Make sure the selected device is available on browser cloud before running.
  3. Next, choose Remote from the Run options. Katalon Studio remote run
  4. Now the mentioned device from the capabilities will be acquired on the pCloudy platform and the scripts will be executed. You will be able to view the live session under My Active Sessions on the pCloudy platform. pCloudy - My active sessions

Running parallel tests using Katalon on pCloudy Browser Cloud

  1. Create two Test Cases (Example: Testcase1 and Testcase2) in Katalon Studio. Katalon Studio create a test case 1Katalon Studio test case 2
  2. Create two different Test Suites (Example: Test Suite 1 and Test Suite 2) and add the Test Cases to each Test Suites as illustrated below. create test suite 1create test suite 2
  3. Next, create a Test Suite Collection (Example: pCloudy Testsuite Collection) and add the Test Suite 1 and 2 to the Test Suite Collection. create test suite collection
  4. Next, open Execution from Project Settings and select Remote from Default execution and check the Post Execution Options as mentioned below. Katalon Studio - project settings - execution
  5. Next, select the Run Environment to Remote. Katalon Studio - remote run environment
  6. Select Parallel from the Execution Mode and click Execute. Katalon Studio - parallel exectutionKatalon Studio execution
  7. Now the mentioned browser from the capabilities will be acquired on the pCloudy platform and the scripts will be executed. You will be able to view the live session under My Active Sessions on the pCloudy platform. pCloudy- my active sessions