TestOptimal Installation

This document provides the instructions to install TestOptimal Server.

Prerequisite

  • JDK 8 or later
  • OS: Windows (7 or later) or Mac.
  • Memory: at least 4GB
  • Disk Space (free): at least 2GB.

Installing TestOptimal Server/IDE

Choose one of the installation options below. After completing the installation, open TestOptimal IDE with a browser at: http://localhost:8888. The community license is pre-instaplled. You just need to accept License Agreement and set up the login account to access your server.

Check out this video: Download & Install.

Windows Installation

  • unzip TestOptimal_'ver#'_win.zip to a folder on the local disk (e.g. c:/app/TestOptimal).
  • double click or run startTestOptimalServer.bat located in the root folder (c:/app/TestOptimal)

Mac / Linux Installation

  • unzip TestOptimal_'ver'_mac.zip to local disk (e.g. apps/TestOptimal.app).
  • Install GraphViz (you may perform this step later):
 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
 brew install graphviz
  • sh [file_path/]startTestOptimalServer.sh

Browser Setup

TestOptimal utilizes Selenium/WebDriver to perform browser automation. The appropriate browser driver must be present/installed, if not already installed, the system will automatically download it and thus internet is required during the download.

Alternative, you may manually copy the required browser driver package into the expected location. Check SvrLog file for the location of the driver files: e.g.

 2020-05-18 13:44:40 [INFO] loading chrome driver from C:\Users\myAccount\.m2\repository\webdriver\chromedriver\win32\80.0.3987.106\chromedriver.exe

If using Safari browser for testing AUT, on Terminal window, run once to enable Safari automation:

 safaridriver --enable

Eclipse and Other Java IDE Setup

You may interact with TestOptimal server to perform testing in Eclipse and other Java IDEs. Using JavaConnector, you can dynamically build a model and execute it on TestOptimal server to generate test cases.

In your java IDE, add the following Maven dependency to the pom.xml file:

<dependency>
  <groupId>com.github.testoptimal</groupId>
  <artifactId>JavaConnector</artifactId>
  <version>1.0.2</version>
</dependency>

License Setup

If you were given a license key, you can enter the license key information at: Manage License.

Customization

Refer to Server Configuration to customize your installation.