good afternoon.
In my test cases I have a login test case which has global variables configured, the issue is that sometimes it crashes and sometimes it works correctly.
I have put a delay of 1 and equally continuous.
Does anyone have a suggestion to address this concern
We are going to need a lot more information in order to help you. In particular, we need to see your console log. Please check this post:
My test is BROKEN! NOTHING WORKS! HELP ME!
Relax. We get it. We really do. There are some pretty smart and clever people on this forum, but you must realize, they are not magicians or wizards or gods. They cannot see your code, they can’t see your errors and they don’t even know what your AUT is meant to do even though it might seem perfectly obvious to you.
So please relax and follow the advice below, before you start writing your post. The advice below will tell you the exact information …
1 Like
brandon, good afternoon.
I attach the file with the requestederror login.txt (29.7 KB)
Root cause:
Caused by: org.openqa.selenium.ElementNotInteractableException: element not interactable
try adding a wait condition before clicking:
@Brandon_Hein , Thank you very much for your suggestion, now it works correctly.
That had never occurred to me.
Thank you very much in advance for the help provided
Paul