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

Robot Listener3 Issue: Adding tags in 'result' works for test case and in 'data' works for user keyword. #5112

Open
ap0087105 opened this issue Apr 11, 2024 · 1 comment

Comments

@ap0087105
Copy link

In Robot Listener 3 observed behavior issue while adding tags reserved tag: 'robot:continue-on-failure'

  1. Added tag 'robot:continue-on-failure' for 'result.parent' object in one of the listener method, which continue execution for Test case if failed instruction is in Test case Body.
  2. If failed instruction is in User defined keyword, then adding tag 'robot:continue-on-failure' for 'result.parent' object continues execution for remaining steps from User defined keyword. But do not continue execution for remaining steps of test case.
  3. To handle point#2 we have to add 'robot:continue-on-failure' tag again in 'data.parent' object.

In an ideal scenario, including the tag ‘robot:continue-on-failure’ in the ‘result.parent’ object should allow the test execution to continue regardless of the location of the failed instruction within the test case.

@pekkaklarck
Copy link
Member

If I understand this correctly, everything works as expected. Setting the continue-on-failure mode for a user keyword affects that keyword but not keywords executed after it. That's how it works also when you use these tags in normal data.

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

2 participants