Image Blog Increase Test Automation Touch Fingerprint
June 13, 2017

Increase Automation With Touch ID Authentication & Fingerprint Automation Testing

Digital Experience

The usage of biometric sensors, such as Touch ID or fingerprint automation testing, to elevate the security of mobile applications has been proliferating significantly. Here's why.

Back to top

Fingerprint Authentication Is Convenient for Users

A key factor in this trend is the convenience offered to the end user via onboard sensors. Users and brands are benefitting from increased sense of security in user flows.

Initially, biometrics were perceived as a credential-form replacement at the login stage. However, nowadays, in-app transactions such as purchases (games, retail), money transfers (banking), and key sensitive transactions are increasingly confirmed with users’ fingerprint authentication.

"Adding Touch ID to our mobile banking app makes it even easier and more convenient for customers to manage their finances on the move and directly responds to their requests," says Stuart Haire, managing director, RBS and NatWest Direct Bank. (Source)

Numbers 1

Figure 1: Just five days after the launch of Touch ID, 72% of all capable iOS logins were via Touch ID. App reviews went up from three to four stars on the Apple App Store with the release of the update and there were over 8,000 Twitter/X references to RBS and NatWest (Source)

Back to top

Fingerprint Automation Testing Considerations

Organizations offering fingerprint authentication in their app face new testing challenges to maintain app quality:

  • New use cases need to be tested. For example, completing the purchase of an item in the cart. While in the past this step did not have re-authentication associated with it, now it does. The test flow needs to include a successful authentication, an unsuccessful one with limited retries, and eventual failure.
  • With the new use cases, comes the issue of fitting those new cases into a limited time frame: we want to run a smoke test within minutes of code commit, run these test cases as part of the nightly regression test, etc.
Phone BOA

Figure 2: fingerprint authentication drives test case growth

It is estimated the increase in test cases with the new fingerprint authentication is between 10%-30%. Clearly, manual testing is not the right answer for these challenges. While there are no great open source solutions to this challenge, Perfecto is offering our own solution to enable fingerprint authentication both in interactive testing as well as in automation.

To enable this solution in the cloud, the application needs to be instrumented to enable fingerprint authentication.

Passed Test

Figure 3: Controlling fingerprint status in interactive mode

Once enabled, sending a successful/unsuccessful authentication to the application in interactive mode is easy.

In automation, using Perfecto’s command to send a successful/unsuccessful authentication to the application is easy as well.

Actual command to drive:

Code Test

Here’s a video showing fingerprint automation testing in action:

Back to top

Bottom Line

To summarize, Touch ID and fingerprint authentication is benefitting users and application vendors, and Perfecto is now offering testing capabilities to validate correct application behavior with this functionality. 

Try fingerprint automation testing for free with Perfecto.

Get My Free Trial

Back to top