Forum Discussion
ArtemS
Alumni
14 years agoHi Daniel
To perform setup/cleanup actions in keyword tests, you can use the Try, Catch and Finally operations, which are analogues of the try...catch...finally statements in C++, C# and other programming languages.
They are the operation groups:
- The Try operation holds operations that may cause an error.
- The Catch operation contains operations that will be executed if an error occurs in the Try block.
- The Finally block contains operations that will be executed regardless of whether an error occurs in the Try block.
Regards.