Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register Keyword On Failure #54

Open
Noordsestern opened this issue Sep 20, 2021 · 0 comments
Open

Register Keyword On Failure #54

Noordsestern opened this issue Sep 20, 2021 · 0 comments
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@Noordsestern
Copy link
Member

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
@Noordsestern Noordsestern added enhancement New feature or request question Further information is requested labels Sep 20, 2021
@Noordsestern Noordsestern added this to the 3.0.0 milestone Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant