New data from 1,500+ QA pros: The 2025 State of Software Quality Report is live
DOWNLOAD YOUR COPY
All All News Products Insights AI DevOps and CI/CD Community

How to Test Secured Android Apps on Katalon

Learn how to test secured Android apps on Katalon using Appdome’s Build2Test service to ensure seamless automation without triggering security alerts.

Hero Banner
Smart Summary

Leveraging Appdome’s Build2Test service offers a seamless solution for testing Android mobile applications secured by Appdome within the Katalon cloud testing platform. This integration ensures applications function correctly under stringent security conditions, preventing false positives or disruptions from security protocols during automation testing.

  • Leverage Appdome’s Build2Test Service: Utilize this recommended service to enable Appdome's defense model to recognize testing services, ensuring seamless automation and preventing security alerts or app shutdowns during secured app testing.
  • Anticipate and Manage Security Triggers: Understand that Appdome features may activate during testing due to detections like ADB, tampering, or developer options. Build2Test allows the app to record these events and continue testing without interruption.
  • Establish a Comprehensive Testing Environment: Prepare your testing setup by ensuring you have required Appdome and Katalon accounts, a fused app, and a physical device. Configure Katalon TestOps, integrate your Git repository, and follow specific steps for creating and running test cases.
Good response
Bad response
|
Copied
>
Read more
Blog / Insights /
How to Test Secured Android Apps on Katalon

How to Test Secured Android Apps on Katalon

QA Consultant Updated on

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.

Use Appdome’s Build2Test Service (Recommended)

Customers with an Appdome SRM license can take advantage of the Build2Test service for seamless testing of Appdome-secured mobile apps using Katalon. This service eliminates the need for multiple Fusion Sets by enabling Appdome’s in-app defense model to recognize the unique signature of testing services. As a result, you can conduct tests without triggering security alerts or app shutdowns, even when using tools like Magisk or Frida.

Detailed Guide to Using Build2Test

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

Understanding Security Triggers When Testing Android Apps on Katalon

When testing Android apps on Katalon, Appdome protection features may respond because they detect specific conditions when the mobile app is running on the mobile device. With Build2Test, instead of causing interruptions, the app records the event and continues testing.

The following table describes which Appdome protection features may be triggered and the reason why:

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.

Prerequisites for Testing Secured Android Apps Using Katalon

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: Neccessary 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 on the “Open TestOps” button to access the dashboard.
    open Testops
  3. Click “View all projects” to see a list of your current projects.
    view All Projects

    Repository and Project Configuration

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

    Katalon Studio Setup

  9. Open your Katalon Studio application
  10. Click “Clone Project”
    clone Project
  11. Enter the Repository URL, username, and password, then click “Finish”
    Enter Source Git Repository

    Note:
     If you wish to run tests locally from Katalon Studio and be able to see the report appear in the TestOps, use the following video to turn on TestOps integration:
    Katalon Studio & Katalon TestOps: Quick Integration Tutorial

    Create and Run Your Test Case

  12. Create your mobile app test case by clicking on the record button.
    record Button
  13. Choose the type of device you are recording on (Android, iOS, Remote device on Lambdatest, or TestCloud Devices).
    8.device Type Android Ios Remote Or Testcloud Devices
  14. Follow the instructions provided in the Katalon Recording Guide.
  15. Ensure your mobile device is connected if using the recording option for Android or iOS.
  16. Select the relevant app. For using Lambdatest devices in Katalon Studio, see LambdaTest Integration
  17. Create your test case using the recording window, then click “Save Script” at the bottom left corner.17. Create Test Case

    Completing Your Test Setup

  18. Enter your Test Case Name and click “Add Test suite”.
    20. Add Test Suite
  19. Select “Add to a new test suite”
    21.add A New Test Suite
  20. Name your test suite and give it a description.
  21. Click OK
    23.name Your Test Suite
  22. Click the play button and select from the dropdown menu: Android, iOS, or Remote Device.
    25.click The Play Button
  23. Run the test and then add your new test case to a test suite by clicking on the “Add to test suite” button.
    28.add To Test Suite
  24. Push the changes into your Git repository.
    29. Push The Changes In Your Script Repository
  25. Click Next
  26. Enter your login credentials
    30.enter Your Login Credentials
  27. Click Finish
    31.push Confirmation

Running tests from TestOps

  1. Open Katalon TestOps
  2. Navigate to Executions > Application Repository > Upload Application.
    1.1executions Applicexecution Application Repository Upload Application
  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.
    Settings Script Repositories
  7. Navigate to the Executions > History.
  8. Click Schedule Test Run.
    3.3schedule Test Run
  9. In the Schedule Test Run popup window, enter your test name.
  10. Select your Script repository.
    10.10enter Schedule Test Run Name
  11. Select Environment > Click more options
    11.11 Click More Options
  12. Click on the Mobile Native App tab.
  13.  Choose the device and model.
  14. Choose the application that you uploaded for your test.
    14.configure Test Env For Test Suite
  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.

16.example Test Run

Ask ChatGPT
|
Vincent N.
Vincent N.
QA Consultant
Vincent Nguyen is a QA consultant with in-depth domain knowledge in QA, software testing, and DevOps. He has 10+ years of experience in crafting content that resonate with techies at all levels. His interests span from writing, technology, building cool stuff, to music.
on this page
Click