Version

SaveControlImage(String,Subitem) Method

Save a screenshot for the specified subitem. The saved image will be created using a control UIElement
Syntax
'Declaration
 
Public Overloads Overridable Function SaveControlImage( _
   ByVal fileName As String, _
   ByVal item As Rational.Test.Ft.Script.Subitem _
) As Boolean
public virtual bool SaveControlImage( 
   string fileName,
   Rational.Test.Ft.Script.Subitem item
)

Parameters

fileName
screenshot file full name
item
Subitem to take screenshot for

Return Value

true if screenshot saved successfully
Requirements

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

See Also