Table of contents
1.
Introduction
2.
Testing Mobile Apps using Custom Cloud Devices in Katalon Studio
2.1.
Mobile Object Spy and Mobile Recorder
2.2.
Remote Devices
2.2.1.
Configure a Remote Device
2.3.
Cloud Application ID
3.
Remote Execution for Mobile Testing in Katalon Studio
3.1.
Prerequisites
3.2.
Steps
4.
Frequently Asked Questions
4.1.
Does Katalon Studio support mobile testing?
4.2.
Does Katalon support mobile automation, and is it based on Appium?
4.3.
What exactly is mobile cloud testing?
5.
Conclusion
Last Updated: Mar 27, 2024

How to Test Mobile Apps in Katalon using Custom Cloud Devices and What is Remote Execution in Reference to Mobile Testing

Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction

Imagine you have made an awesome mobile app. But you are not sure if it would work seamlessly on all devices or not. At this point, you have to test it to make sure. But you definitely cannot run to different people and ask them to use it for you. So this is where Katalon is here to help. We all know we can do so much exciting stuff using Katalon studio. It is very helpful and easy to use too. Let us take a look at How to test mobile apps in Katalon using custom cloud devices and what remote execution is about mobile testing in the article.

How to Test Mobile Apps in Katalon using Custom Cloud Devices and What is Remote Execution in Reference to Mobile Testing

Testing Mobile Apps using Custom Cloud Devices in Katalon Studio

Let us take a look below and find out about Testing Mobile Apps using Custom Cloud Devices in Katalon Studio. We will try to learn about the Execution and Mobile Object Spy and Mobile Recorder options.

With Katalon Studio version 6.3.0 and above, we can test our mobile applications on cloud devices that are even customized. Such as Sauce Labs, BrowserStack, and others. Katalon Studio even lets us run a Mobile script on remote and customized cloud devices.

We should take note that the Remote Server URL and Remote Server Type are not needed in the Generate Command dialogue. Katalon Studio uses the current Remote execution parameters and settings.

Mobile Object Spy and Mobile Recorder

Mobile Object Spy and Mobile Recorder are now available on remote devices rather than custom devices. This thing starts from Katalon Studio version 6.3.0 and later.

Remote Devices

"Remote Devices" is a new tool item. It has been added to the UI of Mobile Object Spy and Mobile Recorder. This is in addition to Android, iOS and Kobiton devices.

Configure a Remote Device

Let us take a look at the steps to configure a remote device. 

Step 1: First, we go to Project and click on settings.

 go to Project and click on settings

Step 2: There, we select the Remote option in the side panel.

select the Remote option in the side panel

Step 3: We enter the server URL, server type and desired capabilities there.

enter the server URL, server type and desired capabilities

Cloud Application ID

The Cloud Application ID is the ID that is assigned to the application file. These files are the ones with the extension ".apk" or ".ipa". The ID is assigned when it has been uploaded to the cloud.

Remote Execution for Mobile Testing in Katalon Studio

The steps below will walk us through configuring the Capabilities needed for remotely running mobile tests with the local Appium server. It is known as Appium Grid.

Katalon Studio, as of now, only allows testing an iOS application on macOS. With remote execution, users can test iOS applications on a Windows machine and remotely connect to a macOS machine and do iOS application testing.

Prerequisites

There are a few things that are needed before starting:

  • We should set up Katalon Studio for Windows mobile testing.
  • We should set up Katalon Studio for macOS mobile testing.
  • On the remote PC, an Appium server has to be started.
  • We should have Android or iOS devices connected.

Steps

Step 1: We will go to Project and Select settings.

go to Project and Select settings.

Step 2: There, we will Go to Desired Capabilities and click on Remote. This will take us to a form-type window.

Step 3: There, we will enter the Appium server URL in the Remote server URL field. After this, we will select Appium as the Remote server type. 

 enter the Appium server URL in the Remote server URL

Step 4: Now, it is time to select the Appium driver. Here we will select Android Driver if we have Android devices or choose iOS Driver for iOS devices.

select the driver

Step 5: Now, it is time to add our desired capabilities to the table.

  • For the Android app: We must add platformName, platformVersion, and deviceName capabilities to our Android app.
  • For the iOS app: We must add platformName, platformVersion, deviceName, and udid capabilities to our iOS app.
  • For Chrome browser on Android devices: We must add platformName, platformVersion, deviceName, and browserName (The value of this should be chrome) capabilities for Chrome browser on Android devices.
  • For Safari browser on iOS devices: We must add platformName, platformVersion, deviceName, udid, and browserName (The value of this should be safari) capabilities for the Safari browser on iOS devices.
add our desired capabilities to the table

Frequently Asked Questions

Does Katalon Studio support mobile testing?

Katalon Studio currently only supports native mobile applications. It is the full path to your mobile app's file, which is the ".apk" file for Android and the ".ipa" file for iOS.

Does Katalon support mobile automation, and is it based on Appium?

Yes, Katalon is based on Appium and Selenium. Katalon is a ready-to-use vendor-based tool and test automation platform. It can be used for mobile, web, API, and desktop or Windows applications.

What exactly is mobile cloud testing?

Mobile Cloud Testing, in simple terms, refers to the use of cloud services to create a highly scalable test environment. Actual mobile devices are hosted by this cloud-based test infrastructure—specifically, Android, iOS, and emulators.

Conclusion

In the article, we read about how we can test mobile apps in Katalon using custom cloud devices and what remote execution is in reference to mobile testing. The steps that we can see above only show the minimum capabilities to run a Mobile test. Katalon Studio also supports other capabilities that we might need as well. Refer to our courses and explore Coding Ninjas Studio to find more exciting stuff. You can also look into the interview experiences and solve different problems. Look into our Guided paths, test series, libraries and resources to know more.

Thank You

Happy Coding!

Live masterclass