We're here to help


This function returns a selected environment. This is useful if you want to run the same test case in different environments.

Format: GetSelectedEnvironment()


{GetSelectedEnvironment()} – This will return UAT which is the selected environment shown in the above screenshot.



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 GetSelectedEnvironment.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.