Biometric authentication for native mobile application
You have installed the Katalon TestCloud Keywords plugin to automatically load all TestCloud keywords into your project without having to manually define them. If you have not, visit Katalon Store: Katalon TestCloud keywords.
Biometric authentication in TestCloud 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 TestCloud 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 > TestCloud.
-
In the TestCloud table, add a
katalon:options
property, set Type asDictionary
, then click the...
. -
In the Dictionary Property Builder, add the boolean properties
enableBiometricsAuthentication=True
andautoAcceptAlerts=False
.- The
autoAcceptAlerts
desired capability ensures that your test cases run smoothly with the biometric authentication feature.
- The
-
Add the
authenticateFail
andauthenticatePass
keywords to your test case as needed. -
Configure your TestCloud mobile environment and run the test.