If you need to switch between multiple environments (e.g., such as between a test environment within the team and a production-like staging environment) to run the test cases you have created, you can use the concept of a base URL. Here, base URL is used to mean a URL that serves as the basis for the other URLs used during testing. Let us take a look at an example.
If a base URL is not used, you should enter the full URL when transitioning to the web page for the test.
When using a base URL, open the test run settings panel and enter the common part of the URL in the Base URL field on the Advanced settings tab. Then, enter a character string describing the non-common parts in the test case.
Doing it this way means that the environment can be easily switched simply by rewriting the base URL in the popup window before the test is run.
If you only intend to use a particular URL during the test, you should enter just that URL from the beginning. If the URL within the test case starts with http or https, the base URL will be ignored.