TESTaide Installation

This document provides how to install TESTaide.

 

 

Please check the Pre-installation document before installing TESaide.

TESTaide Community Edition

TESTaide Professional Edition

 

Download TESTaide

You can download TESTaide from the link below.


Install TESTaide

Unzip the downloaded file to an appropriate location that allows execution permission.

When you unzip it, you will see the following folders.

1 2 3 4 5 6 7 8 9 10 11 12 13 |-- bin `-- functions `-- start-testaide.bat `-- start-testaide.sh `-- stop-testaide.bat `-- stop-testaide.sh `-- testaide.war |-- conf | `-- application.properties `-- password-reset.txt |-- driver |-- log `-- script_template

Please move Selenium Web Driver you downloaded in advance.

/testaide/driver/chromedriver      → chrome

                           /geckodiver          → firefox

                           /IEDriverServer     → Internet Explorer

If you didn’t download Selenium Web Driver, please refer to Selenium Web Driver.


Configure TESTaide

You can configure TESTaide in conf/applicaiton.properties.

  • port

  • data_home : TESTaide data storage location

  • database

  • logging level

  • file size

  • selenium hub

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 # Property values can: # - You can configure the port and database settings here. # WEB SERVER # - Web server is executed in a dedicated Java process. # Set endpoint HTTP port server.port=8080 #-------------------------------------------------------------------------------------------------- # DATA_HOME # # IMPORTANT: # - Please enter an absolute path # # ${data.home.dir} # |-------------/script # |-------------/upload # |-------------/tmp_upload # |-------------/database/testaidedb(h2 only) data.home.dir=D:/apps/application-data/testaide #-------------------------------------------------------------------------------------------------- # DATABASE # # IMPORTANT: # - The embedded H2 database is used by default. # - It is recommended for evalution but not for production use. # - Supported databases are H2, MySQL, PostgreSQL. #----- H2 Embedded Database (evalution only) spring.datasource.url=jdbc:h2:file:${data.home.dir}/database/testaidedb spring.datasource.username=testaideuser spring.datasource.password=testaide spring.h2.console.enabled=true spring.h2.console.settings.web-allow-others=true spring.h2.console.path=/h2-console spring.datasource.driver-class-name=org.h2.Driver hibernate.dialect=org.hibernate.dialect.H2Dialect spring.jpa.properties.hibernate.id.new_generator_mappings=false #----- MySQL Database #spring.datasource.url=jdbc:mysql://localhost:3306/testaidedb?useUnicode=yes&characterEncoding=UTF-8&useSSL=false #spring.datasource.username=testaideuser #spring.datasource.password=testaide #spring.datasource.driver-class-name=com.mysql.jdbc.Driver #spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect #----- PostgreSQL Database #spring.datasource.url=jdbc:postgresql://localhost:5432/testaidedb #spring.datasource.username=testaideuser #spring.datasource.password=testaide #-------------------------------------------------------------------------------------------------- # LOGGING # # - Supported values are TRACE < DEBUG < INFO < WARN < ERROR logging.level.com.zaxxer.hikari.HikariConfig=INFO logging.level.com.zaxxer.hikari=INFO logging.level.org.hibernate.SQL=INFO #logging.level.org.hibernate.type.descriptor.sql=trace #----- Enable shutdown endpoint management.endpoints.web.exposure.include=* management.endpoint.shutdown.enabled=true #----- No auth protected management.security.enabled=false #----- Application file configuration multipart.max-file-size=20MB multipart.max-request-size=200MB upload.filesize=20MB upload.image-file-size=2MB

application.properties

  1. Server port
    You can configure the following settings to change the TESTaide server port.

    1 2 3 4 # WEB SERVER # - Web server is executed in a dedicated Java process. # Set endpoint HTTP port server.port=8080
  2. Data Home*

    1 2 3 4 5 # Linux data.home.dir=/opt/testaide/application-data # Windows data.home.dir=C:/testaide/application-data
  3. Database

    • Edit Database name, user, password

Database

Configuration Example

Database

Configuration Example

H2

#----- H2 Embedded Database (evalution only)
spring.datasource.url=jdbc:h2:file:${data.home.dir}/database/testaidedb
spring.datasource.username=testaideuser
spring.datasource.password=testaide
spring.h2.console.enabled=true
spring.h2.console.settings.web-allow-others=true
spring.h2.console.path=/h2-console
spring.datasource.driver-class-name=org.h2.Driver
hibernate.dialect=org.hibernate.dialect.H2Dialect
spring.jpa.properties.hibernate.id.new_generator_mappings=false

MySQL

#----- MySQL Database
#spring.datasource.url=jdbc:mysql://localhost:3306/testaidedb?useUnicode=yes&characterEncoding=UTF-8&useSSL=false
#spring.datasource.username=testaideuser
#spring.datasource.password=testaide
#spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect

PostgreSQL

#----- PostgreSQL Database
#spring.datasource.url=jdbc:postgresql://localhost:5432/testaidedb
#spring.datasource.username=testaideuser
#spring.datasource.password=testaide


Start TESTaide

Execute the following command to start TESTaide.

Linux

1 2 cd /opt/testaide/bin/ ./start-testaide.sh

Windows

  1. Go to ../testaide/bin

  2. Double click the start-testaide.bat

  3. Or in cmd, enter the following commend.

1 2 3 4 5 # Basic start-testaide.bat # Option start-testaide.bat /C:C:\conf\application.properties /W:C:\bin\testaide.war

Stop TESTaide

Execute the following command to stop TESTaide.

Linux

1 2 cd /opt/testaide/bin/ ./stop-testaide.sh

Windows

  1. Go to ../testaide/bin

  2. Double click the stop-testaide.bat

  3. Or in cmd, enter the following commend.

1 2 3 4 5 # Basic stop-testaide.bat # Option stop-testaide.bat /P:8080