You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}
The text was updated successfully, but these errors were encountered:
General information:
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}
The text was updated successfully, but these errors were encountered: