Skip to content

Register Keyword On Failure #54

@Noordsestern

Description

@Noordsestern

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions