Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Biometric Authentication Document. #297

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 68 additions & 6 deletions src/pages/docs/desired-capabilities/biometric-authentication.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Biometric Authentication"
page_title: "Enable Biometric Authentication"
metadesc: "How to enable Biometric Authentication"
metadesc: "Learn how to use desired capabilities to set the Biometric Authentication for Android and iOS mobile app testing in Testsigma Application"
noindex: false
order: 15.93
page_id: "How to enable Biometric Authentication"
Expand All @@ -11,11 +11,73 @@ contextual_links:
- type: section
name: "Contents"
- type: link
name: "Setting Desired Capabilities in different Browsers"
url: "#setting-desired-capabilities-in-different-browsers"
name: "Prerequisites"
url: "#prerequisites"
- type: link
name: "Example websites to test current location"
url: "#example-websites-to-test-current-location"
name: "How to Add Biometric Authentication Desired Capability?"
url: "#how-to-add-biometric-authentication-desired-capability?"
- type: link
name: Using Biometric Authentication Desired Capability"
url: "#using-biometric-authentication-desired-capability"
---

---

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](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/barnow.png)


2. On the **Ad-Hoc Run** overlay, click on **Desired Capabilities**.
![Ad Hoc Run](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/baahrp.png)


3. Enter ***testsigma.allowTouchIdEnroll*** in the **Key** field, select ***Boolean*** as the **Data type**, and set the **Value** as ***True***.
![Capability Details](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/biadcdetails.png)


4. Click on **Run Now** to execute the test case.
![Run Now](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/barunnw.png)


[[info | **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](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/BiometricAuth-min.gif)




---

To be updated....