1. Overview
Websites or accounts require users to be signed in, usually with a username and password to secure them. However, for added security, they may also opt for the use of Multi-Factor Authentication (MFA), such as Push Notifications, QR Code Scans, or Time-Based One-Time Passwords (TOTP).
Testing these MFA-enabled services can be challenging due to the additional authentication step required to access the service. If this step isn't automated, testing operations may stall, requiring users to manually manage cookies for logging in. This can become a bottleneck in testing automation. Zoho QEngine addresses this issue by offering support for testing TOTP-enabled services. By configuring your accounts or services within the project's MFA module, access and authentication are seamlessly handled in the backend. This allows for secure and automatic authentication according to your configured MFA process, ensuring full automation of your testing.
Navigate to Settings > MFA.

Click Configure TOTP to add your service details.

Provide the Name and other details that are necessary to generate the TOTP, such as Secret Key, Algorithm, Digits and Validity.
Here, the name given will be used to invoke the MFA within the test cases. Learn How

Note:
Click Configure.
Now that you've configured the service whose TOTP has to be generated, you can use them in your test cases. 3. Manage MFA
Zoho QEngine allows you to perform the edit and delete actions for the configured MFAs.
Note: The following roles have permission to edit or delete the configured MFA:
- Super admin
- Admin
- Manager, who has access to the respective project
- Tester, who has configured the services or accounts
To perform the edit or delete actions:

Note: MFAs referenced in test cases should be removed from those test cases before they can be deleted.
4. Using MFA inside test cases
MFAs can be supplied as a parameter to any required task. The following syntax returns a TOTP, generated based on the configured details: