バージョン

VerifyScreenShot(String,String,Subitem,Rectangle,String) メソッド

特定のイメージに対するサブ項目内部の指定された長方形のスクリーンショットを確認します。このメソッドは、イメージ確認を実行するためにスクリーンを使用します。
シンタックス
'宣言
 
Public Overloads Function VerifyScreenShot( _
   ByVal expectedFileName As String, _
   ByVal outputLocation As String, _
   ByVal item As Rational.Test.Ft.Script.Subitem, _
   ByVal rect As Rectangle, _
   ByRef logURL As String _
) As Boolean
public bool VerifyScreenShot( 
   string expectedFileName,
   string outputLocation,
   Rational.Test.Ft.Script.Subitem item,
   Rectangle rect,
   out string logURL
)

パラメータ

expectedFileName
期待されるイメージ (png フォーマット)
outputLocation
確認が失敗した場合、予想、実際、差異、および 3 つすべてを示す html ファイルが保存されます。このパラメーターには、これらのファイルが保存されるフォルダーが入ります。
item
比較するサブ項目
rect
比較する長方形
logURL
比較が失敗した場合の結果の html へのリンク。

戻り値の型

比較が合格の場合は True。
プラットフォーム

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

参照