How to automate test cases involving verifying OTP received in SMS

We are developing automated tests for the scenarios in which user adds authentication method using API from Okta SDK (which includes entering OTP received in SMS). How can we automate this part of getting OTP from SMS? Is there any way to get the OTP that was sent to the user’s device?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.