How errors are detected

Server log

Target file

$HULFTSCRIPT_HOME/server/logs/server.log

How to detect

The log for HULFT Script Server is output to the "server log".

If a message at the ERROR level is output to the server log, it is an error message that needs to be detected.

The format used for the log output is as follows:

 

<date/time>|<log level>|<module>|<message>

 

To detect messages at the ERROR level, look for the string "|ERROR|" in the log.

= Remarks =

If the string "|ERROR|" is output in the <message> field, error detection will not be performed correctly.

Server standard error output

Target file

$HULFTSCRIPT_HOME/server/logs/server.error.log

How to detect

An error may be output to the server standard error log when an error occurs in the libraries used by HULFT Script.

If a message including the string "Exception" or "Error" is output to the server standard error output, it is a message that needs to be detected.