The Natural Screen Tester server can be started either as a Windows service or using a batch file.
Note:
If you run Natural Screen Tester as a service it will, by default, start automatically when Windows is started.
To start the Natural Screen Tester server as a Windows system service
In the installation process, define that Natural Screen Tester server will run as a Windows system service.
Choose
.Start the Natural Screen Tester Server service.
To start the Natural Screen Tester Server using a batch command file
Access the folder <NSR_installation>/bin folder.
Double-click startup.bat.
It is possible to configure the server's system properties.
Refer to Natural Screen Tester Server, System Parameters for further details.
When running Natural Screen Tester server as a batch file, these parameters can be configured in the startup.bat batch file/GXNatural Screen TesterService.ini/startup.sh.
Parameter | Description |
---|---|
com.sabratec.gxhome | The location of the Natural Screen Tester_home directory. |
com.sabratec.license | The directory of the license file. |
com.sabratec.useicon | Put the server icon in the icon tray. |
com.sabratec.conf | Natural Screen Tester configuration file name - under the config folder of the installation. |
com.sabratec.prpfile | The location of gxstartup.prp. |
com.sabratec.logger | Servlet logger. |
The following parameters provide you with the ability to determine the server's system properties. Define these properties in the \config\gxstartup.prp file. These parameters can be overridden by parameters defined in the startup.bat batch file/GXNatural Screen TesterService.ini/startup.sh files.
Parameter | Description |
---|---|
com.sabratec.license | The directory of the license file. |
com.sabratec.useicon | Put the server icon in the icon tray. |
com.sabratec.conf | Natural Screen Tester configuration file name - under the config folder of the installation. |
com.sabratec.logger | Servlet logger. |
To stop the Natural Screen Tester server, when started as a Windows system service
Select
.Stop the Software AG Natural Screen Tester Serverservice.
To stop the Natural Screen Tester server using a batch command file
Access the Natural Screen Tester installation folder.
Double-click shutdown.bat.
To connect to the server
In the Natural Screen Tester Designer, click
on the toolbar, or right-click on the relevant server and select .When connecting for the first time, ensure that the server address (IPv4 and IPv6 address formats are supported) and port that are displayed in the pop-up are correct.
Click
.Type the User name and Password and click .
To disconnect from the server
In the Natural Screen Tester Designer, click
on the toolbar, or right-click on the relevant server and select .The communication with the server terminates, and the user's details disappear.
To update a Server's configuration, open Natural Screen Tester Designer, and either right-click on the server (in the Natural Screen Tester Explorer) and select
, or select from the menu.The Server Properties dialog box is displayed.
Edit the dialog box as follows:
- Non-secured port
Does not require user name and password authentication.
- Secured port
The Secured port check box determines whether SSL is used to securely transfer the data between the client and Natural Screen Tester server.
To change the HTTP port, edit the server.xml and gxconfig.xml files.
- Load Natural Screen Tester archive test projects (gxar)
This check box determines whether to automatically update the test project with new/updated gxar files. Once selected, Natural Screen Tester searches the host-projects folder looking for new/updated gxar files. When one is found, it is loaded automatically as a new/updated project. You must determine how often to search the folder (by default this is set as one minute).
- Enable encryption of recorded sessions
Selecting this checkbox, enables encrypting recorded sessions.
- Encryption key file
The encryption key enables Natural Screen Tester to encrypt and decrypt the recorded sessions. A key is required for each Natural Screen Tester server.
Note:
Refer to Recording Sessions for further details regarding encrypting recorded sessions.
This page provides information regarding the Natural Screen Tester Server license. It includes the number of users, the number of licenses for each type of license, the expiry date, the platforms and the special license terms. See License Keys.
The server log can be accessed from the Natural Screen Tester Designer. Refer to Viewing Server Logs for further details.
- Level
The contents of the log file are as detailed as this property defines, where every level includes the levels above it. For example, the Debug level also logs Normal, Warnings and Errors Only levels. Available values: "Errors only", "Warnings", "Normal" and "Debug" (by default Normal is selected).
- Log File Name
The log is written to this file.
- Open log folder
Enables you to see the list of existing log files.
- Max. file size
Starts a new log file after the current file has been filled to the maximum file size.
- Save History
Selecting this check box determines whether backups of old log files will be saved, after restarting the server.
The radio button options determine the number of backups saved before overwriting the old log files. For example: 10 means "save the last 10 log files, in addition to the current one, then start to overwrite". When selecting All Files, old log files are never deleted. Default value is "10".
- Server Address
The IP address of the SMTP server.
- From address
Mail sent as part of a Procedure, requires using a From address, which is defined in the procedure. When the From field in the procedure is left empty, the address defined here, in the Default From address, will be used.
- Requires authentication
For security reasons, you may want to require authentication. Enter the Account name and Password.
Note:
Only an Administrator is able to change the server's
configuration.
The Server Log includes information as to the Server's activities and problems. The contents of the server log file are defined according to the settings configured in the Server Parameter>Log node. The Server Log can be accessed from Natural Screen Tester Designer.
To View the contents of server log files from within Natural Screen Tester Designer
In the Natural Screen Tester Designer, either right-click on a server and select
, or select in the Menu.To view previous log file history select the relevant file from the list of files in the File name field.
Double-click a file's name. A dialog box with the file's contents appears.
Click
, or press the key on the keyboard to renew information on the log file manually.Click
to restart the log. The previous data is saved to a file, and a new file is created.