# Mobile Application testing using Katalon

**URL:** <https://forum.katalon.com/t/mobile-application-testing-using-katalon/9503>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [February 23, 2018, 10:00am UTC](https://forum.katalon.com/t/mobile-application-testing-using-katalon/9503 "2018-02-23T10:00:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tapas\_Bose](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/tapas_bose/32/483_2.png) [@Tapas\_Bose](https://forum.katalon.com/u/Tapas_Bose)\
**Post date:** [February 23, 2018, 10:00am UTC](https://forum.katalon.com/t/mobile-application-testing-using-katalon/9503/1 "2018-02-23T10:00:12Z")

</div>

Hello,  
We have mobile applications running on Android and iOS. We want to use Katalon Studio to do automation testing of these applications. Can you share some docs/links to get more information how to do it?

Also for Katalon can you please tell me if the tests will be executed on Emulator or on physical devices?

Regards,  
Tapas

---

<div class="post-metadata">

**Author:** ![Tapas\_Bose](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/tapas_bose/32/483_2.png) [@Tapas\_Bose](https://forum.katalon.com/u/Tapas_Bose)\
**Post date:** [February 26, 2018, 12:14pm UTC](https://forum.katalon.com/t/mobile-application-testing-using-katalon/9503/2 "2018-02-26T12:14:43Z")

</div>

Any update?

---

<div class="post-metadata">

**Author:** ![surendra\_rachakonda](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@surendra\_rachakonda](https://forum.katalon.com/u/surendra_rachakonda)\
**Post date:** [March 8, 2018, 6:08am UTC](https://forum.katalon.com/t/mobile-application-testing-using-katalon/9503/3 "2018-03-08T06:08:04Z")

</div>

go through this link : [https://www.katalon.com/hidden-post/ios-android-setup-macos/](https://www.katalon.com/hidden-post/ios-android-setup-macos/)

After completion of setup you can start recording and search YouTube for more videos mobile testing using katalon.  
You can use emulator also for recording but a real device is preferable

---

<div class="post-metadata">

**Author:** ![KSRI8580](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@KSRI8580](https://forum.katalon.com/u/KSRI8580)\
**Post date:** [June 19, 2020, 4:47pm UTC](https://forum.katalon.com/t/mobile-application-testing-using-katalon/9503/4 "2020-06-19T16:47:13Z")

</div>

Hi..Tapas  
I Hope …this information may help you  
Scripting your first [mobile automation test](https://mindmajix.com/mobile-application-testing-training) case can be quite confusing without a specialized tool or instructions. In this tutorial, we will show you how to speed up your automation project using Katalon Studio’s mobile recording utility and running your recorded test cases on hundreds of Kobiton’s mobile devices on cloud. For this tutorial, we assume that you have already installed [Katalon Studio](https://www.katalon.com/), got familiar with its basic functions.

## **Create Mobile Automation Test Cases Using Katalon Studio’s Recording Utility**

Before starting, make sure that you have:

- Downloaded the target app under test: [Material Login Demo](https://github.com/katalon-studio/Material-Login-App-Test/blob/master/App%20Files/MaterialLoginExample.apk). This app provides a set of simple authentication features that will be automated as demonstrated below.
- Configured your Katalon Studio instance for mobile testing.

Katalon Studio provides two utilities to accelerate the automation process: Mobile Object Spy to quickly populate the project’s object repository, and Mobile Recorder to generate automation scripts from recorded actions. As this tutorial mainly focuses on the functionalities of the Recorder utility, if needed, refer to the Object Spy user guide available from [Katalon Studio Documentation](https://docs.katalon.com/display/KD/Spy+Object/) on how to use this utility.

1. Let’s open the sample project (already included in Katalon Studio) and create a new test case. Click on the Mobile Recorder button to open its dialog, as shown below:

 ![sample project Katalon Studio](https://europe1.discourse-cdn.com/katalon/original/3X/5/5/55749a9dace7d65fe95d6d51df2a5f292f823d81.png)

1. With the dialog opened, follow the following steps to configure your recording session:

- Plug in your device or start your emulator then select it from the _ **Device Name** _ combo box.
- Click _ **Browse…** _ to select the app file from your computer (.apk for Android, .ipa for iOS apps).
- Click _ **Start** _ and wait for the app to launch on your device.

Once the configuration is completed, the app appears as shown in the screenshot above. (Note: starting the app is registered as the first recorded action.)

1. With your app ready on your mobile device, start recording the test case.

- Tap on _ **“No account yet? Create one”** _ to navigate to _ **Create Account.** _ Select the _ **android.widget.TextView0** _ object in the all objects tree (or you can tap the text on the Device view to focus on the object).
- Then, click the _ **Tap** _ button to record the action. This action simulates a tap on the app.

 ![Possible Action Katalon Studio](https://europe1.discourse-cdn.com/katalon/original/3X/9/0/90ab40df21126f502e0807096a213e28610e23b8.png)

You will be directed to the _ **Create Account** _ screen. Fill in the information to create an account.

Select **android.widget.EditText0** (or tap on the Name text box on the Device view to fill in name).

Then click **Set Text** to perform the set text action on the Name text.

Enter “name” for the text input as below. Click OK.

 ![Text input Katalon Studio](https://europe1.discourse-cdn.com/katalon/original/3X/4/c/4c85fe57dc190cc37cb199d6d0b63b7ec717a164.png)

The text is set to the device, and the action is recorded to the Recorded Actions table.

- Perform the same steps with the _ **Address** _ field, and enter “address” for this field _._

 ![enter value Katalon Studio](https://europe1.discourse-cdn.com/katalon/original/3X/c/a/caaeb9c4866df68f192366c6984a315628c70bec.png)

- To enter the value for the _ **Email** _ field, we will need to hide the on-screen keyboard to make the field visible by pressing the _ **Hide Keyboard** _ action button. Select the _ **Email** _ field to perform the set text action using “email@domain.com.”
- Follow the same steps for the _ **Mobile Number** _ , _ **Password** _ and _ **Re-enter Password** _ text fields.
- Finally, click on _ **Tap** _ to tap on the _ **Create Account** _ . You will be redirected to the main screen.
- Click **Stop** on the Mobile Recorder dialog to stop the recording session.

The recorded actions should look like as below:

 ![Recorded Action Katalon Studio](https://europe1.discourse-cdn.com/katalon/original/3X/4/2/423cc92528f92406e3d7e00a4b5d6115234b1243.png)

- Click _ **OK** _ to complete the recording and then choose a folder to store your captured objects. Click _ **OK** _ again for Katalon Studio to generate test scripts.

1. View your test case in the Manual mode or replay it to validate all recorded steps. Now let’s add validation points for this test case to verify whether the recorded inputs can set to the text fields successfully.

- Select the first _ **Set Text** _ From the _ **Add** _ toolbar or by clicking on _ **Add** _ from the context menu, add a Mobile Keyword step and choose the keyword _ **Verify Element Attribute.** _
- Select the test object representing the _ **Name** _ text field, which is _ **widget.EditText0** _ , as the object to verify.
- Double click on the input cell for the test step and set the following values to validate the step of setting text to _ **Name** _ .

 ![Input Cell Katalon Studio](https://europe1.discourse-cdn.com/katalon/original/3X/3/3/33a2d6059b2b25de636037b119f89432fc1c19b9.png)

- Perform the same procedure for all other _ **Set Text.** _

After adding the validation test steps, try to run the test case again. This time it will take longer for Katalon Studio to perform the validation steps, but your test case should pass successfully since the input value is identical to the validation value. You can test with different values or connect to a data source.

---

<div class="post-metadata">

**Author:** ![Tapas\_Bose](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/tapas_bose/32/483_2.png) [@Tapas\_Bose](https://forum.katalon.com/u/Tapas_Bose)\
**Post date:** [June 19, 2020, 5:54pm UTC](https://forum.katalon.com/t/mobile-application-testing-using-katalon/9503/5 "2020-06-19T17:54:34Z")

</div>

2 years after! Wow.  
Thanks, @KSRI8580 for the details process.

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:32am UTC](https://forum.katalon.com/t/mobile-application-testing-using-katalon/9503/6 "2022-08-08T07:32:02Z")

</div>

Archived on August 8, 2022, 7:32am UTC


