We're here to help

TestCaseOutCome

This function returns the outcome of the test case. The outcome depends on the steps executed before the function calling step. This returns Successful if the test case is passing and Failed if the test case is failing.

Format: TestCaseOutCome()

Examples:

{TestCaseOutCome()} – This will return Successful if the test passes.

 

Practice


Want to learn more about using this function in Provar? You can use the following sample test case to get started. Simply right-click to download TestCaseOutCome.testcase and then drag and drop the test case into the test folder within the Navigator panel of Provar.

Note: You will need to unzip/extract the compressed file before using it in Provar.