Install Test Automation Server for SAP in unattended mode

You can install the Test Automation Server for SAP in one of the following ways:

An unattended installation is necessary in environments that use software for automated and centralized software distribution. These environments need setups that support unattended installation.

Prerequisites

Before you start the installation, ensure that you meet all requirements listed in chapter Install Test Automation Server for SAP.

Perform unattended installation

To perform an unattended installation, follow the steps below:

  1. Unzip the installation package.

  2. Go to the destination folder and enter the following command at the command line.

    • For an installation with SSL certificate (HTTPS), enter:

      "Tricentis Test Automation Server for SAP 15.1.0.exe" /s THUMBPRINT="<your certificate thumbprint>" LANDINGPAGE_PORT=443 HOSTNAME="<your host name>" STORENAME="<your certificate store name>" <optional arguments> /qn

    • For an installation without SSL certificate (HTTP), enter:

      "Tricentis Test Automation Server for SAP 15.1.0.exe" /s USE_HTTPS=0 LANDINGPAGE_PORT=80 <optional arguments> /qn

The parameters from the command lines above specify the following actions:

  • /s specifies silent mode. Elements that require user interaction aren't displayed.

  • USE_HTTPS is enabled by default. To use HTTP instead of HTTPS, enter the following parameter: USE_HTTPS=0.

  • THUMBPRINT is mandatory for HTTPS. The installation will fail without a valid certificate thumbprint. It must meet the following requirements:

    • The SSL certificate is valid.

    • The subject alternative name contains at least one valid DNS name.

      Note: you can't use wildcards. The certificate must contain the real DNS name.

    • The extended key usage extension includes the Server Authentication OID 1.3.6.1.5.5.7.3.1. This ensures that the certificate implements Transport Layer Security (TLS) on the internet as described in RFC-5280.

    • The certificate has a private key.

    • The key is exportable. You must enable Mark as exportable in the Windows certificate import dialog when you import the certificate. If you haven't done so, you must renew the certificate.

    • The certificate is only stored in a single certificate store location of the local machine certificate store. That's the certificate store which is local to the machine and global to all its users.

  • LANDINGPAGE_PORT is mandatory and specifies the port of the Test Automation Server for SAP Gateway through which all Test Automation Server for SAP services are accessed. The commonly used port is 443 for HTTPS and 80 for HTTP.

  • STORENAME is mandatory for HTTPS and specifies the X.509 certificate store name.

  • HOSTNAME is mandatory for HTTPS and specifies the DNS name that the certificate contains as subject alternative name.

  • Replace <optional arguments> with one or more MSI commands from the list below.

  • /qn disables Windows Installer dialogs during the installation.

Optional parameters

You can find more MSIEXEC commands in the Windows Installer Service documentation or display them by running the MSIEXEC.exe file in the command line.

The table below contains a list of optional parameters. Please note the following:

  • If a path contains spaces, you have to enclose it with quotation marks: "<Path>". For instance: "C:\Temp\My directory\".

  • If you want to use the default configurations for a feature, you don't have to specify them.

Optional parameters

Description

DATADIR

Specifies where to save data and log files.

The default path is C:\ProgramData\TRICENTIS\ToscaServer.

INSTALLDIR

Specifies the installation directory for Test Automation Server for SAP.

The default directory is C:\Program Files (x86)\TRICENTIS\ToscaServer.

Test Automation Server for SAPfeatures:

By installing Test Automation Server for SAP, you install the following features. All of them are installed by default and cannot be installed separately:

Examples

Example

The following command installs all Test Automation Server for SAP features with their default configurations.

"Tricentis Test Automation Server for SAP 15.0.0.exe" /s THUMBPRINT=12A34B5C6DEFF7F123DB1A1234E12E12345DD12E1" LANDINGPAGE_PORT=443 HOSTNAME="localhost" STORENAME="Root" /qn

Example

The following command installs all Test Automation Server for SAP features with the following specifications:

  • The installation folder is c:\temp\silentinstall

  • Sets the port of the Tricentis Test Automation Server for SAP website to port 900.

"Tricentis Test Automation Server for SAP 15.0.exe" /s THUMBPRINT="12A34B5C6DEFF7F123DB1A1234E12E12345DD12E1" HOSTNAME="localhost" STORENAME="Root" LANDINGPAGE_PORT=900 INSTALLDIR="c:\temp\silentinstall" /qn

Uninstall in unattended mode

You can also uninstall Test Automation Server for SAP without user interaction.

To uninstall in unattended mode, enter the following command at the command line: "Tricentis Test Automation Server for SAP 15.0.exe" /uninstall /quiet"

The parameters from the command line above specify the following actions:

  • /uninstall starts uninstalling Test Automation Server for SAP.

  • /quiet performs the uninstall process in silent mode.

What's next

Jump to the Tricentis Test Automation for SAP Service Configuration, where you configure the Test Automation Server for SAP services that you want to use.

Please note that Tricentis Test Automation for SAP Service Configuration doesn't start automatically after the installation in unattended mode.