Skip to main content
Version: 1.0.0

Environment

Overview of the Environment in Centralized Automation Testing Suite​

The environment here refers to the software development environment. For example: Development, UAT, Production, etc.

Why is an environment necessary?

When creating new test cases, test scenarios, or executing test cases and scenarios, an environment is required so that later, when reporting, users can evaluate the completeness and error rate of the application to be tested for each separate environment. Additionally, there are values that change according to each environment, such as URLs, etc. Users can create environment parameters to use during the configuration process.

This section will guide users on how to manage environments in the Centralized Automation Testing Suite:

Create a New Environment​

To create a new environment in the Centralized Automation Testing Suite, follow these steps:

Step 1: Click Setting on the project menu.

alt text

Step 2: Click on the ENVIRONMENT tab.

alt text

Step 3: Click NEW ENVIRONMENT.

alt text

Step 4: Enter all the correct and complete information into the CREATE PROJECT ENVIRONMENT.

alt text

Description of the information fields:

Field NameMandatoryFormatConstraintsDescription
CodeYesTextboxCode must be uniqueThe code of the environment
NameYesTextboxThe name of the environment
Default environmentYesComboboxSet the default for the environment, values include:
- Default: Functions with the environment field default select this environment
- Not default: do not set this environment as default.
Allows selecting 1 value
StatusYesComboboxThe operational status of the environment, values include:
- Active: The environment is operational
- Inactive: The environment is not operational
DescriptionNoTextareaEnter a description of the environment

Step 5: Click OK, and the system displays the message “Create Successful”.

View and Edit the Environment​

To view and edit the environment in the Centralized Automation Testing Suite, follow these steps:

On the ENVIRONMENT tab, the system displays a list of environments for the project.

alt text

Step 1: Select any environment you want to view or edit, click the ⋮ button on the left side of the record.

alt text

Step 2: Select Edit metadata from the displayed menu.

alt text

Step 3: View and edit the information of the environment as required by the user. Information Fields

Step 4: Click OK, the system displays the message “Update successful”.

Delete the Environment​

Note: The condition for deleting an environment is that the environment must not have data constraints (has never been used). If it has been used, it cannot be deleted.

To delete an environment in the Centralized Automation Testing Suite, follow these steps:

Step 1: On the ENVIRONMENT tab, select any environment you want to delete, click ⋮ on the left side of the record.

alt text

Step 2: Select Delete from the displayed menu.

alt text

Step 3: The system displays a confirmation popup. Click the Delete button to delete the environment.

alt text

The system displays the message “Delete successful”.

Initialize Environment Parameters​

Environment parameters are consistent parameters across software development environments.

For example: The URL of a website for each development environment is different. This URL can be set as an environment parameter.

alt text

Why are environment parameters needed?

With information that changes depending on the development environment, using environment variables during test scenario configuration will help limit information changes, and the values ​​of parameters will be flexible depending on the user's environment. used during test execution.

For example: Configuring a website's URL access. If the environment parameter is not left, each time the test script is executed on a different environment, the user will have to edit the URL on the configuration or re-enter the value of the URL on the test data.

To initialize environment parameters in the Centralized Automation Testing Suite, follow these steps:

Step 1: On the Setting function screen, select the PARAMETER tab.

alt text

Step 2: Click New parameter to create additional parameters. There is no limit to the number of parameters created at once.

alt text

Step 3: The system displays information to configure the parameter.

alt text

Description of the information fields:

Field NameMandatoryFormatConstraintsDescription
Variable TypeYesComboboxSelect Environment variable
NameYesTextboxName must be unique, start with a letter, contain only lowercase letters, numbers, and “_”Allows the user to enter the name of the parameter.

Step 4: After entering the correct and complete information, click the SAVE button to save the created environment parameters. The system displays the message “Create successful”

Configure Values for Environment Parameters​

To configure environment parameter values in the Centralized Automation Testing Suite, follow these steps:

Step 1: On the ENVIRONMENT tab, select any environment for which the user needs to configure parameter values, click ⋮ on the left side of the record.

alt text

Step 2: Click on Config parameters

alt text

The system displays the screen for updating environment parameter values:

alt text

Step 3: Enter values for the corresponding parameters of the environment, click UPDATE to update the parameter values. The system displays the message “Update successful”