 | ReportFailure Method (String, String) |
Logs a logical failure (e.g. test step failure) message.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void Failure(
string category,
string message
)
Public Shared Sub Failure (
category As String,
message As String
)
Parameters
- category
- Type: SystemString
The category name. - message
- Type: SystemString
The message text.
RemarksCalling this method marks the current test container as failed, but does not stop
execution of the current module or test container. If you want the execution of the current module
to stop immediately, call
Fail(String) instead.
See Also