我在步骤"警告:多步转换与输入匹配时收到错误" ..无论如何我可以将其关闭吗?
我的代码是
public class Transforms
{
[StepArgumentTransformation(@"\<([A-Za-z0-9\-]+)\>$?")]
public Object ApplyStringTransformations(string TestDataIdentifier)
{
GetData Test = new GetData();
var TestData = Test.ConvertData(TestDataIdentifier);
return TestData;
}
}
在步骤文件中
[Then(@"I Login as a Member with ""(.*)"" and ""(.*)""")]
public void ThenILoginAsAMemberWithAnd(object p0,object p1)
{
Console.WriteLine(p0);
}