This article demonstrates how to automate Two-Factor Authentication (2FA) by switching from your application under test (AUT) to the Android Google Messages app, reading the latest SMS, extracting the numeric One-Time Password (OTP), and returning to your app to enter the code.
OTP (One-Time Password) module enables generation of time-based one-time passwords (TOTP) for automated testing of multi-factor authentication workflows in Rapise.
Many applications require users to enter one-time passwords to login. In this article we describe how to implement OTP generator in Rapise.