Origin
SeleniumLibrary offers a keyword Register Keyword on Failure that sets a keyword for being executed only in case a selenium keyword fails. By default, a screenshot is taken.
Idea
Implement a keyword for CamundaLibrary stating, what keyword shall be executed in case of an unexpected error (thus leading to the task to fail).
Usually there is some logging involved, maybe sending a notification or notifying a failure in form of an incident. We could even think about calling Ǹotify Failure by default. Let's say with a retries value of 1?
*** Settings ***
Library CamundaLibrary host=http://localhost:8080
Suite Setup Run Keyword on Failure Notify Failure retries=3
Origin
SeleniumLibrary offers a keyword
Register Keyword on Failurethat sets a keyword for being executed only in case a selenium keyword fails. By default, a screenshot is taken.Idea
Implement a keyword for CamundaLibrary stating, what keyword shall be executed in case of an unexpected error (thus leading to the task to fail).
Usually there is some logging involved, maybe sending a notification or notifying a failure in form of an incident. We could even think about calling
Ǹotify Failureby default. Let's say with a retries value of1?