Makes a screenshot and posts it 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 Screenshot(
IVisualObject objectforPicture,
string text = "",
string additional = ""
)
Public Sub Screenshot (
objectforPicture As IVisualObject,
Optional text As String = "",
Optional additional As String = ""
)
Dim instance As Log
Dim objectforPicture As IVisualObject
Dim text As String
Dim additional As String
instance.Screenshot(objectforPicture,
text, additional)
public:
void Screenshot(
IVisualObject^ objectforPicture,
String^ text = L"",
String^ additional = L""
)
Parameters
- objectforPicture
- Type: SmartBear.TestLeft.TestObjectsIVisualObject
The IObject whose image should be posted to the log. - 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