12 STAP UI Environment Management

Learn about creating, updating, and managing environments in Oracle Communications Solution Test Automation Platform (STAP) UI.

Topics in this chapter:

About the Environment Page

To access the environments, from the navigation panel, select 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 mappings for specific testing scenarios. This is a critical part of STAP, you can use the Environments page to manage execution environments used across different jobs. Each environment can have zero or more connections based on the scope of the test. These environments limit or direct job execution within STAP.

To create a new environment:

  1. On the Environments page, click Create Environment.The Create environment page is displayed.
  2. Enter the Name, and if desired also the Release, Build Number, and Description.
  3. If you want to add connections to the environment, do the following:
    • Click Add Connection.
    The Create Connection window is displayed.
  4. Enter the connection Name, Description, Product (product or application name), and Type (for example, REST, SOAP, or Json).
  5. Click the add (Add Icon) icon to add one or more Properties. Enter the Property Name and Value. Click Add Connection.The new connection is created and you are returned to the Create Environment page.
  6. In the Search connection text box under Connection section, specify the just created connection to ensure that you have a connection tagged to this environment.
  7. Click Create button at the top right corner of the screen to create a new environment with the required connection details.
  8. To attach the connections to the environment, Click Add Connections.You are returned to the Create Environment page.
  9. 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:

  1. Open the environments page using one of the following methods:
    1. Click the edit (Edit Icon) icon under Actions column on the row corresponding to the environment you want to modify.
    2. Click anywhere in the row of the environment you want to modify.

    This action opens the Edit Environments page, which consists of two sections: Overview and Connections.

  2. Click the edit (Edit Icon) icon on each section to edit.
  3. In the Overview section, edit the Name, Description, Release, orBuild Number as needed.
  4. If you want to view or delete existing connections, in the Connections Section, enter the name of the connection in the search field.
  5. To add new connections, click the add (Add Icon) icon.
  6. Click Update to save your changes.
  7. Click Cancel to terminate your changes.

Deleting an Existing Environment

To delete an existing environment:

  1. Navigate to Environments page, click the delete (Delete Icon) icon under Actions column on the row corresponding to the environment you want to delete.

    A confirmation window appears.

  2. Click Delete.