Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
installdoc [2021/01/25 16:09]
admin [Installing TestOptimal Server/IDE]
installdoc [2024/01/02 19:31]
admin [Eclipse and Other Java IDE Setup]
Line 1: Line 1:
 ===== TestOptimal Installation ===== ===== TestOptimal Installation =====
  
-This document provides the instructions to install //TestOptimal Server//.+This document provides the instructions to install & start //TestOptimal Server//.
  
 ====Prerequisite==== ====Prerequisite====
-  * //JDK 8// or later  +  * //JDK 17// or later 
-  * OS: //Windows (7 or later)// or //Mac//+  * OS: //WindowsMac, Linux//. 
   * Memory: at least 4GB   * Memory: at least 4GB
   * Disk Space (free): at least 2GB.   * Disk Space (free): at least 2GB.
 +  * Modern browser (Firefox, Chrome, Edge, Safari)
  
 ---- ----
Line 17: Line 18:
 ===Windows Installation=== ===Windows Installation===
   * run (double-click) downloaded file //TestOptimal_Setup.exe// and follow the instruction   * run (double-click) downloaded file //TestOptimal_Setup.exe// and follow the instruction
-  * alternatively if you download the zip file instead, just unzip the zip file+  * alternatively if you've downloaded the zip file instead, just unzip the zip file and run (double-click) startTestOptimalServer.bat
  
 ===Mac / Linux Installation=== ===Mac / Linux Installation===
Line 26: Line 27:
    brew install graphviz    brew install graphviz
  
-   sh [file_path/]startTestOptimalServer.sh+   start server by running //startTestOptimalServer.sh//
  
 +===Docker===
 +   * run following docker command to start TestOptimal server:
 +
 +      docker run -p 8888:8888 testoptimal/mbt:7.0.3
 ---- ----
  
  
 ==== Browser Setup ==== ==== 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.  +//TestOptimal// utilizes //Selenium/WebDriver// to perform browser automation.  The system will automatically download the appropriate driver when it's needed and thus internet is required.  
  
-Alternative, you may manually copy the required browser driver package into the expected location. +Alternatively, you may copy the required browser driver into the expected location ahead of time to remove this dependency
 Check {{http://localhost:8888/api/v1/file/log/tosvr| SvrLog file}} for the location of the driver files: e.g. Check {{http://localhost:8888/api/v1/file/log/tosvr| 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    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 AUTon Terminal window, run once to enable Safari automation:+If you are performing AUT testing on Safari browser, you will need to enable automation on Safari browser by running the following command once:
  
    safaridriver --enable    safaridriver --enable
Line 44: Line 49:
 ---- ----
  
-==== Eclipse and Other Java IDE Setup ==== 
-You may interact with //TestOptimal// server to perform testing in Eclipse and other Java IDEs.  Using [[https://testoptimal.com/v6/wiki/doku.php?id=integration#java_ide_connector | 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 ==== ==== License Setup ====
 If you were given a license key, you can enter the license key information at: [[ide_overview#manage_license | Manage License]]. If you were given a license key, you can enter the license key information at: [[ide_overview#manage_license | Manage License]].