Skip to content

(New Feature) Takes Screen Shot if any other keyword fails #87

@noubar

Description

@noubar

General information:

  • OS name: independent

Description

As you include the library into the robot it binds itself into the robot test case and does not matter which robot keyword has failed makes a screenshot and binds the screenshot into the log under the failing keyword.
It is possible and i could be implementing it and make a PR if you think this feature could be useful.

This feature would be an optional feature which could activated or deactivated through an initial argument while importing the library. Or another keyword.
Enable Taking Screenshot on Keyword Fail
Disable Taking Screenshot on Keyword Fail

or
Library ScreenCapLibrary onFail=${True}
Library ScreenCapLibrary onfail=${False}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions