Biometric authentication for native mobile application
- You have installed the Katalon Test Execution - Cloud Keywords plugin to automatically load all Test Execution - Cloud keywords into your project. If you have not, visit Katalon Store: [Katalon Test Execution - Cloud keywords](https://store.katalon.com/product/397/Katalon-Test Execution - Cloud-Keywords).
- Follow this guide to install the plugins: Install plugins online from Katalon Store.
Biometric authentication in Test Execution - Cloud supports the following OS and API:
| OS | Supported API |
|---|---|
| Android 11 or higher |
|
| iOS 13 or higher |
|
The BiometricsAuthenticator.authenticateFail and BiometricsAuthenticator.authenticatePass keywords in Katalon Test Execution - Cloud allows users to simulate biometric inputs to test native mobile applications. To use it, follow these steps:
-
In Katalon Studio, click the Profile drop-down and select Reload Plugins to make sure the plugin is installed.
-
Go to Project Settings > Desired Capabilities > Cloud Execution.
-
In the Test Execution - Cloud table, add a
katalon:optionsproperty, set Type asDictionary, then click the....
-
In the Dictionary Property Builder, add the boolean properties
enableBiometricsAuthentication=TrueandautoAcceptAlerts=False.
- The
autoAcceptAlertsdesired capability ensures that your test cases run smoothly with the biometric authentication feature.
- The
-
Add the
authenticateFailandauthenticatePasskeywords to your test case as needed.
-
Configure your Test Execution - Cloud mobile environment and run the test.
- This feature might force your Appium to modify and re-sign your APK before installing it. Your application, having security checks in place, detects this modification and shows the error to prevent tampering.
- Suggestion: Ask your developers for a specific "debug" or "QA" build of the application. In this build, the security checks (like signature verification, root detection, and anti-tampering) should be disabled. This allows testing tools to instrument the app without triggering security errors.