cleanup¶
A cleanup statement is similar to a finally statement but will execute after the test finishes executing, while finally executes after the step finishes executing.
Tip
All operations of a cleanup statement will be executed regardless of the success or failure of each of them.
Operations¶
A cleanup statement supports only the following operations: