简体   繁体   中英

how to handle MFA in C# selenium testing

Below are the steps to over come:

  1. Browser is asking for email address
  2. Once I input and click next, it is taking me to a new browser where I have to select Phone or SMS options.
  3. Once I select SMS option, it is asking me to input the key
  4. Once I input key, it is validating and taking me to application home page.

I would suggest disabling the MFA for the account, or whitelist the account so that it would be always the same key. Anyway, this has nothing to do with Selenium but you need to change the AUT to meet these requirements.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM