how to read sms while testing in appium or selenium -


while testing of android , ios app. provisioning screen of app, otp usecase comes stops further testing of app. usecase is.

when user enters mobile number in app's starting page instruction . after tap on send button text box otp option comes on app's screen. upto point, possible record/playback. after this, stops our process.

because usecase not possible automate our app further processings.

here, otp comes via sms , verification purpose user needs enter otp(one time passcode) comes via sms. so, complication ...
how check otp sms app of device, , return testing app , enter verification code it. step validate user , app appears user. query is... how can test use case using automation? please me because blocks complete further testings.

i think cannot navigate 1 application application single test passing capabilities of test application , cannot work application.

however workaround can try is:
1. first test, send otp test application.
2. second test, otp copied clipboard message box(you can application package/activity using of open source applications in android).
3. third test, paste/enter otp in application.

hope help!


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -