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:
- Java JDK "17.0.5" 2022-10-18 LTS 64-Bit or later
- PostgreSQL 15.1 or later
- .NET Framework 4.8 or later
- Windows 10
A Windows 10 virtual machines for VirtualBox and some other VM platforms you can download here. The Windows 10 VM installed on a VM platform can be used for testing purpose. - Eclipse (to customize MyITest4U needs JDK 16.0.1 64 bit or later)
- Visual Studio 2019 (to customize MyITest4U, Community edition is sufficient)
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:
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:
Importing of MyITest4U database:
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.