What is the difference between Run Keyword If Test Failed and Run Keyword If Test Passed?

What is the difference between Run Keyword If Test Failed and Run Keyword If Test Passed?

Hi Alex,

The Run Keyword If Test Failed keyword in Robot Framework executes a specified keyword only when the current test case fails. In contrast, the Run Keyword If Test Passed keyword executes a specified keyword when the test case passes.

These keywords provide conditional execution based on the outcome of the test case, allowing you to perform different actions depending on whether the test case succeeds or fails.