Posts a new error message to the test log.
Namespace:
SmartBear.TestLeft
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax public void Error(
string text,
string additional = ""
)
Public Sub Error (
text As String,
Optional additional As String = ""
)
Dim instance As Log
Dim text As String
Dim additional As String
instance.Error(text, additional)
public:
void Error(
String^ text,
String^ additional = L""
)
Parameters
- text
- Type: SystemString
The message text. - additional (Optional)
- Type: SystemString
The text to display in the log's Additional Info. It can be plain or HTML-formatted text. In order for TestLeft to recognize the additional text as HTML code, the text must start with a tag.
See Also