How to continue from FindFailed exception using Selenium and Java

Asked by ksnath on 2019-07-02

I am using Selenium, Sikuli with JAVA in eclipse IDE

Basically I am a game tester and I have to click on a particular button "Spin" several times

In this process of identifying the spin button image, some times execution fails and gives me a Exception in thread "main" FindFailed error.

can someone guide me what script to code to continue the automation from where it failed last time? Instead of running the entire test case again.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-07-02
Last reply:
2019-07-11
matteoa (matteoa) said : #1

Hello,
I hope this response can help you:
https://answers.launchpad.net/sikuli/+question/680899
It is related to the python scripting but I think the same APIs exists also in JAva

Can you help with this problem?

Provide an answer of your own, or ask ksnath for more information if necessary.

To post a message you must log in.