スクリプトの既存のテスト メソッドをキーワードとして指定して、キーワード駆動テストのメソッドを再利用します。
'VB .NET code
<Keyword("Login")>
// C# code
[Keyword("Login")]
// VB .NET code
<Keyword("Login", Description="Logs in with the given name and password.")>
Public Sub Login(Argument("UserName") As String, Argument("PassWord") As String)
... //
End Sub
// C# code
[Keyword("Login", Description:="Logs in with the given name and password.")]
public void Login([Argument("UserName")] string UserName, [Argument("PassWord")] string PassWord)
{
... // method implementation
}