Home United States USA — software Setting Up a Mobile Automation Project in macOS With Katalon Studio

Setting Up a Mobile Automation Project in macOS With Katalon Studio

549
0
SHARE

This tutorial will teach you how to design automated tests for Android and iOS mobile apps on devices, cloud services, or emulators, with Katalon Studio.
Using Katalon Studio, a tester can design mobile app automation tests for both Android and iOS to run on physical devices, cloud services, or emulators.
This tutorial explains how to setup a mobile app testing project for Katalon Studio on macOS. It assumes that you are familiar with automated testing.
Katalon Studio requires the latest installation of Appium and Node.js. Please setup as per the following steps:
Note: To make sure Node.js is installed correctly, you run the command which node on Terminal.
Set the Appium Directory to “/usr/local/lib/node_modules/appium” in Katalon Preferences (from the Katalon menu, go to Preferences > Katalon > Mobile) .
You will need to install and configure Xcode in case of testing on iOS devices. Please set up Xcode as follows:
Open the project WebDriverAgent.xcodeproj under WebDriverAgent in Xcode.
If the following dialog is shown, select Always Allow. Note: is the device UDID of your mobile device.
To test an iOS native application file (.ipa or .app file) , make sure the file is already built and signed properly to deploy on the device. Follow these steps to check if an application file is already built and signed correctly:
2. Choose your device from the Devices list.
3. Press the “+” button and choose your application file.
4. If installed successfully, the application will appear in the Installed Apps section, as shown below:
You can modify extra Desired Capabilities when executing automation tests in Katalon Studio.
To define Desired Capabilities for local execution using Chrome, Firefox, IE, Safari, or Edge, please access Project > Settings > Execution > Default > Mobile > iOS (or Android) .
The example below shows Desired Capabilities settings for Android to enable Unicode inputs.
Refer to Desired Capabilities for which properties of each web browser are supported by Selenium. For Desired Capabilities to be used with Appium, refer to Appium server capabilities.
You may use external libraries in your test project. Go to Project > Settings > External Libraries to add new or remove existing libraries for Katalon Studio. External libraries are stored in the Katalon Studio project’s Drivers folder.
The added libraries can be imported and referenced in the Script View of Katalon Studio:

Continue reading...