12 STAP UI Environment Management
Learn about environments, creating a new environment, adding connections, and managing existing environments in Oracle Communications Solution Test Automation Platform (STAP) UI.
Topics in this chapter:
About the Environment Page
To access the environments, navigate to the Menu using the navigation panel. Select the Environments option to view and manage execution environments.
The Environments page displays a list of all configured environments. Each row represents a unique environment. Table 12-1 lists the columns for the selected unique environment.
Table 12-1 Environment Details
Field | Description |
---|---|
Name | Environment name. |
Connections | Number of connections mapped to the environment. |
Release | Release number. |
Build | Build number. |
Actions | Actions to edit or delete the environment. |
Creating a New Environment
You can create new environments with connection mapping for specific testing scenarios. This is a critical part of STAP automation platform, where you can manage execution environments used across different jobs. Each environment can have zero or more connections based on the scope of the test. These environments serve as a base to limit or direct job execution within the STAP.
Perform the following steps to create a new environment:
- On the Environments page, click Create Environment.The Create environment page is displayed.
- Enter the Name, Release, Build Number, and Description. (Release, Build Number, and Description are optional parameters)
- To add connections to the environment, click Add Connection.The Create Connection pop-up window is displayed.
- Enter the connection Name, Description, Product (product or application name), and Type (for example, REST, SOAP, and Json).
- Click the add (
) icon to add one or more Properties. Enter the Property Name and Value. Click Add Connection.The new connection is created and you are reverted to the Create Environment page.
- In the Search connection text box under Connection section, specify the just created connection ensuring that you have a connection tagged to this environment.
- Click Create button at the top right corner of the screen to create a new environment with the required connection details.
- To attach the connections to the environment, Click Add Connections.You are reverted to the Create Environment page.
- Click Create button to create the new environment.
The newly created environment is displayed at the top of the list on the Environments page.
Updating an Existing Environment
To edit an existing environment, perform the following steps:
- Navigate to the Environments page, you have two ways to open the Edit
Environment page:
- Click the edit (
) icon under Actions column on the row corresponding to the environment you want to modify.
- Click anywhere in the row of the environment you want to modify, and the Edit Environment page will open.
- Click the edit (
This action opens the Edit Environments page, which consists of two sections: Overview and Connections.
- Click the edit (
) icon on each section to edit.
- In the Overview section, edit the Name, Description, Release, and Build Number as needed.
- In the Connections section, View or Delete the existing connection by entering the connection name in the search box.
- Click the add (
) icon to add new connections.
- Click Update to save the edits made.
- Click Cancel to abort the changes made.
Deleting an Existing Environment
To delete an existing environment, perform the following steps:
- Navigate to Environments page, click the delete (
) icon under Actions column on the row corresponding to the environment you want to delete.
A confirmation dialog box titled Delete Connection appears.
- Click Delete.