Click action fails ramdomly for the same test
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2019
06:19 PM
09-18-2019
06:19 PM
Click action fails ramdomly for the same test
Hi,
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?
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?
Solved! Go to Solution.
Labels:
- Labels:
-
Keyword Tests
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2019
11:16 PM
09-18-2019
11:16 PM
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2019
04:57 PM
09-19-2019
04:57 PM
Thank you!
I had initially added delay before clicks but had to increase the timeframe. It works now as expected.
