Documentation

Looking for something in particular?

Automation V3: GetSelectedEnvironment

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

Format: GetSelectedEnvironment()

Examples:

{GetSelectedEnvironment()} 

This will return the selected environment shown in the above screenshot.

Practice

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

Note: Unzip/extract the compressed file before using it in Automation.



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