This is the scenario:
Given the text and the following fields:
| text | field |
| text1 | field1 |
I want to iterate both of this for them to use in one generic method, so in the future fill a form, per example, just by using this scenario
The method:
public void ThenIEnterInTheField(Table table)
var texts = table.Rows.Select(row => int.Parse(row["text "]));
foreach (var text in texts)
{
input(text, field);
}
But I have no idea how to do this in the best way as possible to iterate both or something like that, please help
Aucun commentaire:
Enregistrer un commentaire