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, enter the common part of the URL in the "Base URL" field on the "Details" tab of the pop-up window when specifying the browser. Then, enter a character string describing the noncommon 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 the URL within the test case starts with “http” or “https”, the base URL will be ignored. If you only intend to use a particular URL during the test, you can enter just that URL from the beginning.