Project environments
An environment is defined by the dedicated base URL, also called the application host, of the application under test. You can define multiple environments for a single project. An environment can serve the purpose of development, staging, production, or even multiple productions at once. For example, multiple environments for the myapp.com application could be:
- Production: https://www.myapp.com
- Pre-Production: http://pre.myapp.com
- Staging: http://staging.myapp.com
- Development: http://dev.myapp.com
- For an execution to access an environment, the environment must be live and available for remote access from Scriptless Web.
- A combination of environment and location provides a complete URL for the application to load.
This article explains how to create a new environment.
To add an environment:
- In the Assets view, in the left pane, click Environments.
- On the right, click Add Environment.
- In the Create an environment dialog box, provide the following details:
- Name: The name of the environment
- Base Host: A URL for the application (for example: http://www.myapp.com)
- (Optional) Click Add DNS Record to provide IP and Host information. Then click Add to save the record.
- Click CREATE.
To edit an environment:
-
Hover over an environment and click Edit .
-
In the Update an environment dialog box, enter Name and Base Host for the environment.
- (Optional) Click Add DNS Record to provide IP and Host information. Then click Add to save the record.
- Click UPDATE.
To delete an environment:
-
Hover over a environment and click Delete .