Automation V3: TestCasePath
This function returns the path of the test case.
Format: TestCasePath()
Example:
{TestCasePath()} returns the test case path, e.g., tests/Functions/TestCasePath.testcase.
Note: If this function is called in a callable test case and the callable test case is called or used in the main test case, then the result that it will show will be of the main test case.
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 TestCasePath.testcase and then drag and drop the test case into the test folder within the Navigator panel of Provar.
Note: Unzip/extract the compressed file before using it in Provar.