Is there any way to get around the multi factor auth in mobile test automation?



  • I have an app that would ask me to enter a verification code from a received SMS. How do we get around that or if there is any mechanism to enter the code at all?

    This is an automated UI test using Appium and C# as my language. I test it using a real mobile device. I don't care about verifying the 2FA, as long as I get to the home screen of my app is what I care about testing.



  • Use a service like https://www.twilio.com/ to recieve the SMS by your code. They provide phonenumbers, API's, etc...


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2