Functions

In the Functions tab, two optional functions can be selected. The first will be run after each test function has been executed and is referred to as the post-function. The second function runs after all tests have completed and is referred to as the post-testing function. There is a checkbox for the post-testing function to choose whether the function will be run before the log file is written out or after.

Functions tab

When dynamic chains are in use in the project, a profile option is available for each function. Unless otherwise specified, the post-function will use the same profile as the test function it runs after and the post-testing function will use whichever profile is selected as the default. If a specific profile is chosen for the post-function, it will be switched to everytime the function runs.

If a project has variants defined, the profile option is replaced with a button to Select Variants... or Select Profiles... depending on whether dynamic chains are in use in the project too. The Variant-Profile Mapping dialog allows the functions to be disabled and/or configured for each variant. By default all variants will use the same profile when running post functions.