Posts an image 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 Picture(
Image picture,
string text = "",
string additional = ""
)
Public Sub Picture (
picture As Image,
Optional text As String = "",
Optional additional As String = ""
)
Dim instance As Log
Dim picture As Image
Dim text As String
Dim additional As String
instance.Picture(picture, text, additional)
public:
void Picture(
Image^ picture,
String^ text = L"",
String^ additional = L""
)
Parameters
- picture
- Type: System.DrawingImage
The image. - text (Optional)
- 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