Introduction

MyITest4U is a modularized Test Automation Tool for GUI applications. MyITest4U supports Web and certain types of Desktop applications.

Requirements

MyTest4U needs the following components to run:

Instead of Eclipse or Visual Studio 2019 other IDEs can be used.

Download

The newest release of MyITest4U can be downloaded here .

A download contains all modules. A Trial license valid for 30 days and all modules is provided the first time you download a new release.
Older releases of MyITest4U can be downloaded here .

Installation

Please run a backup of your PostgreSQL Server before installing MyITest4U. Just in case …

MyITest4U comes with an installer setupMyITest4U<releaseDate>.exe. The installer will guide you through the installation process.

The MyITest4U database can be imported automatically or you can import the database manually.
The former one can only be done if you have direct access to the PostgreSQL database server. It will install and update the database so that MyITest4U is ready to use after the installation has finished.

The following steps need to be done if you install the database manually:

  • import the MyITest4U database (...\MyITest4U\TestEngine\DataBase\myitest4u_db.sql)
  • update the WebDriver locations

The WebDriver locations can be updated after starting MyITest4U (see Getting Started) by selecting Run / Drivers from the menu.

In a multi user environment manual import of the database should be chosen except for the first user installing MyITest4U. All user should use the same database.

Database Connection

The database properties can be set in the following files:

  • ..\MyITest4U\TestEngine\Java\Api\resources\MyITest4UDb.properties
  • ..\MyITest4U\TestEngine\CSharp\bin\connectionStrings.config

Backup and Restore

Backup and Restore are using “psql.exe” and “pg_dump.exe” from PostgresSQL. Both have to be installed in the <PostgresSQL Home>/bin directory.

Troubleshooting

In case the automatic import of the database fails, use manual import and create and import the database using tools provided by PostgreSQL.

The installer of MyITest4U runs the psql commands given below. After replacing the values in <...> by your chosen ones you can run them from a command line. Psql.exe is found in the bin folder of your PostgreSQL root folder.

Check if the postgres DB exists:

      psql.exe -c "select 'myitest4uxxxyyy' FROM pg_database WHERE datname='<Name of postgres DB>'" "user=<User> dbname=<Name of postgres DB> password=<Password> port=<Port> host=<Host Name>"
     

The installer checks if the result contains “myitest4uxxxyyy”. In case “myitest4uxxxyyy” is not found the result of the query is shown.

Creation of MyITest4U database:

      psql -c "CREATE DATABASE <myitest4u_db> TEMPLATE template0 encoding UTF8 lc_collate 'C' lc_ctype 'C' OWNER=postgres" "user=<User> dbname=<Name of postgres DB> password=<Password> port=<Port> host=<Host Name>"
     

Importing of MyITest4U database:

      psql.exe -f "<MyITest4U root folder>\MyITest4U\TestEngine\Database\myitest4u_db.sql" "user=<User> dbname=<Name of postgres DB> password=<Password> port=<Port> host=<Host Name>"
     

The names in <...> need to be replace by the chosen values.

PostgreSQL Installation

PostgreSQL has an installer which will guide you through the installation process.

MyITest4U does not need the Stack Builder and you do not have to install it. The following server properties will be set if you stick to the defaults and if you install PostgresSQL on the same machine as MyITest4U:

Property Name Property Value
PostgreSQL root folder: C:\Program Files\PostgreSQL\15
Host name: localhost
Port: 5432
User: postgres
Password: You have to set one
Name of postgres DB: postgres

The above set up is useful in a single user environment and for trying MyITest4U. In a multiuser environment it is recommended to install PostgreSQL on its own machine and every user should connect to this PostgreSQL installation.