Biometric Authentication


With Testsigma, you can simulate biometric authentication while testing Android and iOS applications. This capability allows you to test the app's recognition and response to biometric events. This article discusses how to set biometric authentication desired capabilities on the Ad-Hoc Run page in Testsigma.


Prerequisites

  • You should have a Testsigma account.
  • A mobile application to test.

How to Add Biometric Authentication Desired Capability?

In order to Add Biometric Authentication for Android and iOS apps, we can use the following desired capability:

testsigma.allowTouchIdEnroll=true

Name Data Type Value
testsigma.allowTouchIdEnroll Boolean True

Using Biometric Authentication Desired Capability

  1. Click on Run from the Test Case Details page. Run Test Case
  2. On the Ad-Hoc Run overlay, click on Desired Capabilities. Ad Hoc Run
  3. Enter testsigma.allowTouchIdEnroll in the Key field, select Boolean as the Data type, and set the Value as True. Capability Details
  4. Click on Run Now to execute the test case. Run Now
NOTE:

This capability is available only in Testsigma Lab and is not supported in local execution.

Here’s a quick GIF demonstrating how to set the biometric authentication capability.

Biometric Authentication