Tricentis Test Automation for ServiceNow Server Install and Setup Guide

Prerequisites

Before installing Tricentis Test Automation for ServiceNow Server, you will need to install the following required software.

7Zip

We recommend using 7Zip to extract the files. 7Zip may be downloaded from here. Run the setup program, accepting the default settings.

Java (Open JDK)

To Install Java (Open JDK), carry out the following steps. Note that you may use an Oracle Java SE build instead of Open JDK.

  1. Download Open JDK 13.0.2.

  2. Create a new folder at: C:\Program Files\OpenJDK.

  3. Open openjdk-13.0.2_windows-x64_bin.zip with 7zip and extract the contents to: C:\Program Files\OpenJDK\

  4. Update the Path system variable:

    1. Open the Control Panel and select the System applet.

    2. Select Advanced System Settings, then Environment Variables....

    3. Select the Path System variable.

    4. Append the location of the bin folder to the variable.

Example: C:\Program Files\OpenJDK\jdk-13.0.2\bin

  1. Create the JAVA_HOME System variable:

    1. Open the Control Panel and select the System applet.

    2. Select Advanced System Settings, then Environment Variables....

    3. Create a new System variable named JAVA_HOME.

    4. Append the location of the Java folder to the variable (Note that his should not include the bin sub-folder).

Example: C:\Program Files\OpenJDK\jdk-13.0.2

  1. Open a command prompt and run the command java -version. Verify that the current Java version is shown.

NodeJS

To install NodeJS, carry out the following steps:

  1. Download NodeJS Version 10.x.

  2. Run the Setup accepting the default settings.

Installing the Tricentis Test Automation Server

After the prerequisites have been installed, install the Tricentis Test Automation Server by carrying out the following steps:

  1. Download Tricentis Test Automation for ServiceNow server zip.

  2. Create a directory underneath your user profile to be used for the installation, This is known as the Tricentis Test Automation for ServiceNow Server directory.

Example: C:\users\<username>\Tricentis Test Automation for ServiceNow

  1. Extract the contents of the ZIP file to the Tricentis Test Automation for ServiceNow Sever directory.

  2. Update the Path System variable:

    1. Open the Control Panel and select the System applet.

    2. Select Advanced System Settings, then Environment Variables....

    3. Select the Path System variable.

    4. Append the location of the Global Modules bin folder to the variable.

Example: C:\Windows;C:\Program Files\OpenJDK\jdk-13.0.2\bin; C:\users\<username>\Tricentis Test Automation for ServiceNow\global\node_modules\.bin

  1. Open a command prompt and run the command pm2 --version. Verify that the current PM2 version is shown.

Configuring Tricentis Test Automation for ServiceNow Server

Before you can continue setting up the Tricentis Test Automation for ServiceNow Server you must have the Tricentis Test Automation for ServiceNow App installed and configured in Service Now.

  1. Open a command prompt and navigate to the Tricentis Test Automation for ServiceNow Server directory.

  2. Run the command capio setup.

  3. The setup utility will launch and perform a self-check on the installation initialize configuration files.

NOTE: If an error is found double check the steps above and correct any mistakes. If you still encounter errors on this page please contact support for assistance.

  1. Use the Right arrow key to navigate to the Configuration tab, and press Enter.
  2. Using the arrow keys, highlight Capio Configuration, and press Enter.
  3. Using the Up and Down arrow keys to navigate between fields, enter your connection information, and enable the instance by selecting the Enabled column and pressing Space.
  4. Press F5 to save your changes.
  5. Press Escape to return to the previous screen.
  6. Press Ctrl+C to exit the Setup utility.

Starting the Server

To start the Tricentis Test Automation for ServiceNow Server, carry out the following steps:

  1. Open a command prompt and navigate to the Tricentis Test Automation for ServiceNow Server directory.
  2. Run capio start to start Selenium and Tricentis Test Automation for ServiceNow.
  3. After the startup sequence has completed, run capio logs to view the logs and verify there are no errors.
  4. Press Ctrl+C to exit the Tricentis Test Automation for ServiceNow logs.

Server Commands

The following server commands are available from a command prompt set to the Tricentis Test Automation for ServiceNow Server directory.

  • To start the Tricentis Test Automation for ServiceNow Server run capio start.

  • To stop the Tricentis Test Automation for ServiceNow Server run capio stop.

  • To view the Tricentis Test Automation for ServiceNow Logs run capio logs.

Installation Guides