agent-Python-RobotFramework icon indicating copy to clipboard operation
agent-Python-RobotFramework copied to clipboard

IF ELSE is evaluated as result

Open seemme opened this issue 1 year ago • 3 comments

Describe the bug Similar to: #129

If a IF, ELSE or Run Keyword And Return Result returns false, the step is shown as failed in Report Portal. In Robot Framework log.html itself it is green.

Expected behavior The result of conditional actions and Keywords which return the Result of an Keyword shouldn't be evaluated as test step results

log.html image

Report Portal image

Package versions robotframework-reportportal==5.5.0 Reportportal: Build: 5.10.0

seemme avatar Feb 05 '24 15:02 seemme

@seemme Please don't use RP_CLIENT_TYPE = "ASYNC_BATCHED" if you want to avoid this, or don't use conditional steps. I explicitly warned you about that in my comment here: https://github.com/reportportal/agent-Python-RobotFramework/issues/177#issuecomment-1765303348

HardNorth avatar Feb 05 '24 15:02 HardNorth

If these two parameters are mutually exclusive, then RP is useless for me (we have the same problem in my company). The sync takes an awfully long time, or the test slows down so much that it is unusable. And if RP can't evaluate ELSE IF it is useless and we turn it off.

dkomarek2 avatar Feb 08 '24 14:02 dkomarek2

@dkomarek2 They are useless until we release a server fix. Unfortunately, it is stuck in production due to performance issues. Bet you would answer with the same words if we would release it now.

HardNorth avatar Feb 08 '24 14:02 HardNorth