Element Not InteractableException is not reachable by keyboard issue

Hi,

I am facing ElementNotInteractableException is not reachable by keyboard issue.

robot tests.robot

Tests :: A test suite with a single test for valid login.

Valid Login | FAIL |
ElementNotInteractableException: Message: Element is not reachable by keyboard

Tests :: A test suite with a single test for valid login. | FAIL |
1 test, 0 passed, 1 failed

Output: /Users/kaushalshriyan/rpa/output.xml
Log: /Users/kaushalshriyan/rpa/log.html
Report: /Users/kaushalshriyan/rpa/report.html

ElementNotInteractableException: Message: Element is not reachable by keyboard

Please guide. Thanks in Advance.

Best Regards,

Kaushal

Must we need to ask for more information?

The error message is so clear that I don’t understand your problem.

My advise would be, don’t use keyboard keywords to interact with that element.

Hi Kaushal,

I realise you new here, the error message tells you why it failed, it usually does in Robot Framework, you’ll need to work out why? there are many possible reasons and we don’t know enough about your application to know the answer.

Some questions to help you think about the cause, you don’t need to answer me, just answer them to yourself and see where these lines of thought take you:

  • is this the first input field you tried to enter text into?
  • is it disabled?
  • did you try clicking in it first?
  • is there another field that robot could be trying to access with the same identifier? (is this other field disabled/hidden?)
  • did you give the application enough time to finish building the screen?
  • what does the screenshot show, is it different to what you see on the screen?

When you get an unexpected error do a little troubleshooting, see if solve it yourself first (it’s much more satisfying)

Hope this helps,

Dave.

2 Likes

@damies13 @HelioGuilherme66 Thanks for the help and much appreciated. I will revisit my issue and keep you posted. Thanks in Advance.