Save a screenshot for the specified subitem. The saved image will be created using a control UIElement
'Declaration
Public Overloads Overridable Function SaveControlImage( _
ByVal As String, _
ByVal As Rational.Test.Ft.Script.Subitem _
) As Boolean
public virtual bool SaveControlImage(
string ,
Rational.Test.Ft.Script.Subitem
)
Parameters
- fileName
- screenshot file full name
- item
- Subitem to take screenshot for
Return Value
true if screenshot saved successfully
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2