The Try operation groups 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. In other words, the Finally operation groups the operations that will perform clean-up actions. These operations can, for example, close some open files or connections, close a form of the tested application and so on.
The Finally operation must be preceded by the related Try or Catch operations and must reside at the same level.
The operation does not return any value.
The Finally operation is similar to the
finally statement of C++, C# or Delphi.
The Finally operation can have any other operations as children.
For information on how to make an operation a child of another operation, see the description of the Keyword Test editor’s Test Steps page.
The operation does not have parameters.