Install Tricentis Test Automation for SAP in unattended mode

You can install Tricentis Test Automation 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 Tricentis Test Automation for SAP".

Perform an unattended installation

To perform an unattended installation, follow the steps below:

  1. Unzip the installation package.

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

    "name and file extension of the installer file" /s <arguments> /qn

    • /s specifies silent mode. Elements that require user interaction are not displayed.

    • /qn specifies that Windows Installer dialogs are not displayed during the installation.

    • Replace <arguments> with one or more of the commands in the list below.

Arguments

The table below contains a list of possible arguments.

For information on packaged installation, check out the attachments of this Tricentis Knowledge Base article.

For the arguments in the list below, please note the following:

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

  • All arguments are commands to configure the features that you want to install. If you want to use the default configurations for these features, you do not have to specify them in the command line.

 

Argument

Description

INSTALLDIR

Specifies the installation path of Tricentis Test Automation for SAP.
Default: C:\Program Files\TRICENTIS\Tosca Testsuite (32bit) or Windows: C:\Program Files (x86)\TRICENTIS\Tosca Testsuite (64bit)

NETDRIVE

Installs the %TRICENTIS_ALLUSERS_APPDATA% directory on a network drive.

NETDRIVE sets the permissions for the folder %TRICENTIS_ALLUSERS_APPDATA%.

If you don't want to set any permissions on the %TRICENTIS_ALLUSERS_APPDATA% folder, set the NETDRIVE value to 1, i.e. NETDRIVE=1 .

Default: NETDRIVE=0

For more information, see chapter "%TRICENTIS_ALLUSERS_APPDATA%".

START_SERVICES

Starts TOSCAAutomationService by default when the Windows system service is installed.

If the security settings on your work station prevent services from starting, you can circumvent this by using START_SERVICES=0.

Default: START_SERVICES=1

TOSCA_PROJECTS

Specifies the path where projects are saved.

Default: C:\Tosca_Projects

TRICENTIS_ALLUSERS_APPDATA

Specifies the directory of user defined settings.

Default path: C:\ProgramData\TRICENTIS\Tosca Testsuite\7.0.0

Examples

Example 1

The following command installs all features. This setup is similar to the standard Test Automation for SAP Commander installation via the installer:

"Tricentis Test Automation for SAP14.2.exe" /s /qn

Example 2

The following command installs all features to a defined directory:

"Tricentis Test Automation for SAP14.2.exe" /s INSTALLDIR="D:\Tricentis for SAP" /qn

View installation logs

Once installation is complete, you can check your logs in the %TEMP% folder.

Uninstall in unattended mode

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

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

  • /uninstall triggers the deinstallation.

  • /quiet specifies that you want to perform the uninstall process in silent mode.