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
{{ message }}
Repository navigation
Run on failure does not work correctly if named argument syntax is used #1396
[ WARN ] Keyword 'Take Screenshot ('fullPage', True)' could not be run on failure: 'tuple' object has no attribute 'upper' same with all possible arguments.
Tested on my local Windows environment and on browser-docker image.
Hello @aaltat,
Looks like it still not working correctly for filename argument. All others are fine.
Try with: Register Keyword To Run On Failure Take Screenshot filename=robotframework-browser-screenshot-{index}
It's failing because: Keyword 'Take Screenshot filename=robotframework-browser-screenshot-{index}' could not be run on failure: take_screenshot() got multiple values for argument 'filename'
Working fine for positional argument.
Checked on version 11.1.1
Activity
Fix run on failure when using names args
Fix run on failure when using names args
Fix run on failure when using names args
tomekPawlak commentedon Jan 17, 2022
Hello @aaltat,
Looks like it still not working correctly for filename argument. All others are fine.
Try with:
Register Keyword To Run On Failure Take Screenshot filename=robotframework-browser-screenshot-{index}It's failing because:
Keyword 'Take Screenshot filename=robotframework-browser-screenshot-{index}' could not be run on failure: take_screenshot() got multiple values for argument 'filename'Working fine for positional argument.
Checked on version 11.1.1
aaltat commentedon Jan 21, 2022
Interesting, could you raise an issue about with
--loglevel traceattached, so that we do not forget it.tomekPawlak commentedon Jan 21, 2022
done #1702