-1

I can get the OTP from gmail but i don't know how to enter the OTP into the mobile application? What is the best way of approach to handle gmail otp into mobile application?

1 Answers1

0

You can find the OTP input box using Appium specific locator and do sendKeys on that element to input the OTP you have got in Email. This should be straight forward if you know Selenium WebDriver.

To find the OTP input locator, you can use Appium inspector.

Hope this answers your question.

Wasiq Bhamla
  • 949
  • 1
  • 7
  • 12