Skip to content

Listener fails on 'end_test' with object has no attribute 'name' #404

@damies13

Description

@damies13

Describe the bug
Listener fails on 'end_test' with object has no attribute 'name'

only occurs when the test case has a for loop or if statement in the test case, for loop or if statement in keyword doesn't seem to trigger this error

To Reproduce
Steps to reproduce the behaviour:

  1. create test case with for loop in top level of test case
  2. add test case to manager scenario
  3. enable test repeater for test row
  4. run test and check log.html in results

Expected behavior
test log should have no errors

Screenshots

Calling method 'end_test' of listener '/tmp/rfswarmagent/scripts/RFSTestRepeater.py' failed: AttributeError: 'For' object has no attribute 'name'
Calling method 'end_test' of listener '/var/folders/bt/hmkkrbfj2fs8tl28607stt3h0000gn/T/rfswarmagent/scripts/RFSTestRepeater.py' failed: AttributeError: 'If' object has no attribute 'name'

Desktop (please complete the following information):

  • OS: any (encounter on windows, macos and linux
  • RFS Version 1.5.3
  • Robot Version 7.4.1

Additional context
This may be related to Issue #392 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    potential bugMight be a bug, requires further clarification

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions