If you want to switch between multiple environments (such as an internal test environment and a production-like staging environment) to run your created test cases, you can utilize the concept of a base URL. Here, a base URL is defined as "the foundational URL that serves as the basis for URLs used during testing". Let's look at an example.
If a base URL is not used, you must enter the entire URL each time you navigate to the test target webpage.
When using a base URL, enter the common part of the URL in the Base URL field on the Advanced settings tab of the test run settings panel. Then, in your test cases, input only the differing segments of the URL.
By configuring it this way, you can easily switch environments by simply modifying the base URL in the popup window before the test run.
If you need to use some fixed URLs in your test, please enter the entire URL for those specific steps. If the URLs in the test case start with http or https, the base URL will be ignored.