private GivenIHaveFilledOutTheFormAsFollows ( TechTalk table ) : void | ||
table | TechTalk | |
return | void |
public void GivenIHaveFilledOutTheFormAsFollows(TechTalk.SpecFlow.Table table)
{
foreach (var row in table.Rows)
{
var labelText = row["Label"] + ":";
var value = row["Value"];
_browser.TextFields.First(Find.ByLabelText(labelText)).TypeText(value);
}
}