Shreenshot here I have fixed OTP for app login ( ex:123456 )
I added appium detail here and I tried send_keys to fill that OTP but not working for me
Appium says ( Using XPath locators is not recommended and can lead to fragile tests. Ask your development team to provide unique accessibility locators instead! )
Is there any other way to fill this OTP page ?
Please anyone give me idea to fill that OTP
Sendkeys are not working to fill this OTP and unable to write xpath also please anyone help me to fill ( 123456 ) this oTP to that boxes.
Element you are referring here and trying to interact (use
sendkey) won't work because it is theTextview(as I see in the shared screenshot). You should findEditTextelement, that is designed for input.The message from Appium about
xpathusage is recommendation, and in the current case I don't believe that it has any relation with the problem described.