verifyLogfail()

Purpose

Marks a test as Failed with a message.

Syntax

verifyLogfail( <string> )

 

where:

Description

The corresponding test result is Failed if the verifyLogfail() method is encountered.

The <string> message is logged and displayed in the test report.

If an exception is thrown in a verifyLogfail() method, an error is logged and the test continues.

Example

verifyLogfail("Log message with fail");$

 

Related Topics

fail()verifyLogMessage()