Skip to the content.

Define the system landscape

Before running the automation framework it is required to define the connectivity end points. On which systems will the actions be performed? How can the automation framework connect to these systems? These configuration settings are defined upfront (and whenever they change) so that automation engineers do not need to worry about this. Instead it will be possible to design automation scripts using the logical names that are defined. The details will be retrieved during the execution.

Environments

In an enterprise environment there is a clear distinction between development, test and production environments. In order to make the distinction between the different connectivity end points linked to any environment, each connection needs to be linked to one environment. When designing the automation script, the environment name is not added to the configuration. Rather, it is provided when starting the execution as one of the input parameters. As such, the same automation script can be executed on any environment.

Similarly to the connection configuration, logical names for the definition of the environments are used. This means that your context can easily be mapped regardless of the number or scope of instances.

Environment Description
dev Development environment
test Test enviroment
prod Production environment

Configure environments

It is possible to configure the necessary environments or update them using the connectivity template.

Important

Connections

Next, the connections can be defined. Each system that the automation framework will connect to is configured for any relevant enviroment. Depending on the type of system, the framework has embedded the notion of connection types. When defining the connection settings, the automation engineer can make use of these to quickly establish connectivity.

Connection types

Connection types are the reusable configuration blocks. Each type allows the framework to connect to specific technology and requires a different set of input parameters.

Connection Type Description
db.db2 IBM DB2 Database Connection
db.dremio Dremio Database Connection
db.drill Apache Drill Database Connection
db.h2 H2 Database Connection
db.mariadb MariaDB Database Connection
db.mssql Microsoft SQL Database Connection
db.mysql MySql Database Connection
db.netezza Netezza Database Connection
db.oracle Oracle Database Connection
db.postgresql Postgresql Database Connection
db.presto Presto Database Connection
db.sqlite SQLite Database Connection
db.teradata Teradata Database Connection
fwk.alias Connection alias only to be used for impersonation
host.linux Linux-Based Operating System Connection
host.unix Unix-Based Operating System Connection
host.windows Windows-Based Operating System Connection
http.host Http Host Connection
repo.artifactory Artifactory Repository Connection
socket socket Connection

More information can be found here.

Configure connections

It is possible to configure the necessary connections or update them using the connectivity template.

When done, the names of the connections can be shared with the automation engineers. The connectivity details can be managed centrally without requiring to disclose this information.

Important

Impersonations

Sometimes it can be useful to replace one or more configured connections by other ones. The automation framework refers to this concept as impersonations. It can be used to make script configurations even more generic and bind connection information only when the script is executed. Some examples where this has been applied include:

In order to make use of impersonations the appropriate parameters need to be provided when starting the script execution:

More information can be found here.

It is possible to configure the necessary impersonations or update them using the connectivity template.

When done, the names of the impersonations can be shared with the automation engineers. Similarly to other connectivity details these can be managed centrally without requiring to disclose the information.

Important

Components

We are working providing more details on this.