Documentation

Looking for something in particular?

TestCaseName

This function returns the current test case name.

Format: TestCaseName()

Example:

{TestCaseName()} will return the current test case name, e.g., SampleTest1.

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 a 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 TestCaseName.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.

For more information, check out this course on University of Provar.


Feedback

Was this article helpful for you?
Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top