OTP use cases
This project demonstrates how Katalon Studio helps you extract OTP (one-time password) from different platforms for test automation script. It contains some test cases for Mobile OTP extraction, some test cases for Outlook and Gmail OTP extraction.
Extract OTP from Outlook.
Extract OTP from Gmail.
Extract OTP from mobile device.
Extract OTP for test automation script
Configured Outlook and Gmail for OTP extraction
- Connection with your mobile device for OTP extraction
- You can refer to the video demonstration for:
- For Gmail/Outlook:
- Refer to the attached test cases in our sample Git repository above.
- Change the username and password for Gmail and outlook in the test cases.
- Change the email subject and body content from where you want to extract the OTP.
- Run the test and verify the OTP in console.
- For mobile device:
- Connect with your mobile device.
- Run the test on Android device.
- Verify the result in the console.