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

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

Open
noubar opened this issue Aug 7, 2024 · 0 comments
Open

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

noubar opened this issue Aug 7, 2024 · 0 comments

Comments

@noubar
Copy link

noubar commented Aug 7, 2024

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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant