How to Test Secured Android Apps on Katalon

how to test secured android apps on katalon
Key takeaways
The 30-second version of this article
Appdome's Build2Test service lets Appdome-secured Android apps recognize testing services, so Katalon tests run without triggering security shutdowns.
Features like ADB blocking, anti-tampering, VPN detection, and debuggable-app detection can fire during testing if Build2Test isn't used.
You need an Appdome account, a fused app with Build2Test, a Katalon account, and a physical Android device for live testing.
Connect a Git repository to Katalon TestOps, record tests in Katalon Studio, then upload the app and schedule runs on mobile devices from TestOps.

This guide walks you through the steps to test Android mobile apps secured by Appdome using the Katalon cloud testing platform. Follow these instructions to verify that your application functions correctly under secured conditions without triggering unintended security protocols.

Detailed Guide to Using Build2Test

For step-by-step instructions, refer to Appdome’s guide: How to Use Appdome Mobile App Automation Testing.

Understanding Security Triggers When Testing Android Apps on Katalon

Appdome feature

Reason

Block Android Debug Bridge (ADB)

Activated if the app detects ADB commands running on the device.

Anti-Tampering

Activated if any unauthorized changes to the app’s code or resources are detected.

Detect VPN

Activated if the app detects a VPN connection.

Detect Developer Options

Activated if developer options are enabled on the device.

Detect App is Debuggable

Activated if the app is set to a debuggable state.

Runtime Bundle Validation

Activated if there are discrepancies in the app bundle.

Enforce Cipher Suites

Activated if insecure cipher suites are used for network connections.

URL Whitelisting

Activated if the app accesses URLs not on the app’s approved whitelist.

Block Memory Editing Tools

Activated if memory editing tools attempt to modify the app’s memory during runtime.

Ensure you have the following set up before beginning:

  • Appdome Account: create a free Appdome account here
  • Mobile App (.ipa for iOS, or .apk or .aab for Android)
  • Appdome Fused App with Build2Test: Required to initiate testing with Katalon.
  • Katalon Account: Necessary for accessing testing features.
  • Physical Device: Required for real (live) app testing on Android.

Setting Up Your Testing Environment in Katalon

Access and Setup for Live App Testing

  1. Sign in to Katalon TestOps.
  2. Click the “Open TestOps” button to access the dashboard.
  3. Click “View all projects” to see a list of your current projects.

Repository and Project Configuration

  1. Navigate to Settings > Script Repository > Connect Git Repository to integrate your Git repository.
  2. Create a new Git repository in your preferred service (e.g., GitHub, GitLab).
  3. Enter your source type, repository URL, username, and personal access token, then click “Connect”.
  4. To use your own Git repository with your test cases, create them in Katalon Studio, which you can download from katalon.com.
  5. You can use the following demo repository from Katalon as an example: Katalon Studio Samples.

Katalon Studio Setup

  1. Open your Katalon Studio application.
  2. Click “Clone Project”.
  3. Enter the repository URL, username, and password, then click “Finish”.

Note: If you want to run tests locally from Katalon Studio and see the report in TestOps, watch this video to turn on TestOps integration: Katalon Studio & Katalon TestOps: Quick Integration Tutorial.

Create and Run Your Test Case

  1. Create your mobile app test case by clicking the record button.
  2. Choose the type of device you are recording on (Android, iOS, remote device on LambdaTest, or Katalon Test Cloud devices).
  3. Follow the instructions provided in the Katalon Recording Guide.
  4. Ensure your mobile device is connected if using the recording option for Android or iOS.
  5. Select the relevant app. For using LambdaTest devices in Katalon Studio, see LambdaTest Integration.
  6. Create your test case using the recording window, then click “Save Script” at the bottom left corner.

Complete Your Test Setup

  1. Enter your test case name and click “Add Test suite”.
  2. Select “Add to a new test suite”.
  3. Name your test suite and give it a description.
  4. Click OK.
  5. Click the play button and select from the dropdown menu: Android, iOS, or Remote Device.
  6. Run the test, then add your new test case to a test suite by clicking the “Add to test suite” button.
  7. Push the changes to your Git repository.
  8. Click Next.
  9. Enter your login credentials.
  10. Click Finish.

Running Tests From TestOps

  1. Open Katalon TestOps
  2. Navigate to Executions > Application Repository > Upload Application.
    18-1
  3. Go back to the repository settings in the Katalon TestOps
  4. Go to Settings > Script Repositories
  5. Select the relevant repository.
  6. Click on Refresh Script Repository to pull your changes.
    19-1
  7. Navigate to the Executions > History.
  8. Click Schedule Test Run.
    20
  9. In the Schedule Test Run popup window, enter your test name.
  10. Select your Script repository.
    21-1
  11. Select Environment > Click more options
    22
  12. Click on the Mobile Native App tab.
  13.  Choose the device and model.
  14. Choose the application that you uploaded for your test.
    23-1
  15. Click save when you’re done.
  16. Click Run

For more information about the run, click on your test run and on ‘Details’ at the top right corner.

24

Frequently asked questions

Son Huynh
Son HuynhSupport Engineer

Son Huynh is a Support Engineer at Katalon, based in Ho Chi Minh City, where he helps customers solve technical issues across the Katalon platform. Before joining Katalon in 2025, he spent three years as a Professional Services Engineer at ELCA Vietnam. He studied at California State Polytechnic University, Pomona.

Connect on LinkedIn →
Get started

Test everything. Ship with confidence.

From generating test cases to spotting failures, Katalon's AI works across your entire pipeline, automatically.

Live webinar

The Next Evolution of Manual Testing: Introducing Katalon AI Test Runner

Learn how to grow your QA team's capacity in the age of AI, then watch Katalon AI Test Runner turn manual test cases into automated runs, live.

2:00 to 3:00 PM IST
Almas AhmedSenior Account Manager
Sumit WankhedeSolutions Engineer Manager
Register now