Unable to set the text of an OTP on VM mobile android

My OTP 6 digit but unable to set the text of the same OTP on Mobile (Android app) emulator device.


i use setText but do not enter a number in the OTP input field

this is All Objects

Could you please help
@helpdesk @ThanhTo @Russ_Thomas

Have you tried to set each character of the OTP string in each android.view.View element separatelly?
For example:

  • Asign the first OTP char on a variable called firstchar.
  • Use SetText keyword on the first android.view.View element using firstchar variable.

Repeat with the other 5 chars…
(You could use tome For/While loop, it could be a better solution i know)

If it works, I recomend you creating some Custom Keyword to encapsulate this logic.