Ask a Question

Click action fails ramdomly for the same test

Occasional Contributor

Click action fails ramdomly for the same test


I am performing desktop testing which requires clicking of few buttons in order to navigate to different screens or display output. I noticed the click action works for a keyword test but fails at times.
I know people have had similar issues and have recommended to use ClickButton method.
I do not see this method in the function.

Any other alternative or any feedback as to why it fails?
Frequent Contributor

Please provide the log file for error in the click method fails.


1. May be object is not available in the screen

2. try to add some delay in between the failed case, may be Click operations was called so quickly that button does not exists or visible on screen.

Thank you! 


I had initially added delay before clicks but had to increase the timeframe. It works now as expected.

Showing results for 
Search instead for 
Did you mean: