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
installdoc [2021/01/05 03:00]
127.0.0.1 external edit
installdoc [2021/03/01 22:37] (current)
admin [Prerequisite]
Line 4: Line 4:
  
 ====Prerequisite==== ====Prerequisite====
-  * //JDK 8// or later +  * //JDK 8// or later  ([[https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jdk.msi | Windows: Install OpenJDK]])
   * OS: //Windows (7 or later)// or //Mac//   * OS: //Windows (7 or later)// or //Mac//
   * Memory: at least 4GB   * Memory: at least 4GB
   * Disk Space (free): at least 2GB.   * Disk Space (free): at least 2GB.
 +  * Latest version of modern browser (Firefox, Chrome, Edge, Safari)
  
 ---- ----
Line 16: Line 17:
  
 ===Windows Installation=== ===Windows Installation===
-  * unzip //TestOptimal_'ver#'_win.zip// to a folder on the local disk (e.g. //c:/app/TestOptimal//).+  * run (double-click) downloaded file //TestOptimal_Setup.exe// and follow the instruction 
 +  * alternatively if you've downloaded the zip file instead, just unzip the zip file and run (double-clickstartTestOptimalServer.bat
  
 ===Mac / Linux Installation=== ===Mac / Linux Installation===
Line 22: Line 24:
   * Install [[https://graphviz.gitlab.io/download/ | GraphViz]]  (you may perform this step later):   * Install [[https://graphviz.gitlab.io/download/ | GraphViz]]  (you may perform this step later):
  
-   ruby -e "$(curl -fsSL https://raw.githubusercontent .com/Homebrew/install/master/install)" < /dev/null 2> /dev/null+   ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
    brew install graphviz    brew install graphviz
  
-===Start TestOptimal Servver=== +   * start server by running //startTestOptimalServer.sh//
- +
-On Windows:  +
-   double click or run //startTestOptimalServer.bat// located in the root folder (//c:/app/TestOptimal//+
- +
-On Mac: +
-   sh [file_path/]startTestOptimalServer.sh+
  
 ---- ----
Line 37: Line 33:
  
 ==== 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. Check {{http://localhost:8888/api/v1/file/log/tosvr| SvrLog file}} for the location: e.g.+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.
    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