Introduction

This project demonstrates how katalon studio helps users to extract OTP from different -2 platforms for the test automation script. It contain some test cases for Mobile OTP extraction, some test cases for Outlook and Gmail OTP extraction.

Requirements

  • Katalon Studio
  • Configure outlook/gmail for OTP extraction
  • Connect with your mobile device for OTP extraction

Use case

Use Case No 1: Extract OTP from outlook.

* Extract OTP/number
* Use the extracted otp for verification(web/mobile/api)    

Use Case No 2: Extract OTP from gmail.

* Extract OTP/number
* Use the extracted otp for verification(web/mobile/api)

Use Case No 2: Extract OTP from mobile.

* Connect mobile device with system.
* Launch the .apk file
* Extract OTP/number
* Use the extracted otp for verification(web/mobile/api)

How to automate

For Gmail/Outlook

* Refer to the attached test cases in our git repository.

* Change username and password for Gmail and outlook in the test cases.

* Change the Email subject and body content from where user want to extract the OTP

For Mobile

* Connect with your mobile device

* Run the test on android device
  • Run the test execution. Here

  • Verify the test execution result. Here