For static otp verification code(For ex. 1234), xpath of the Linear layout textbox element (verification code) is not found and getting error that “xpath not found”.
Initially user name and password is given and after clicking on sign in, it navigates to this screen and asking for OTP verification code. Here its a linear layout textbox with four inputs for verification code.
while writing robot script with keyword ‘Input Text’ using xpath of the textbox, the element is not found.
Need any suggestion to overcome this error.
Here I have attached the screenshot of the webpage.