I'm trying to do a simple if else function during a particular number of data row executed for Data Driven Testing.
The idea is simply to execute test "x" if the current data row is "x". I found a property (CurrentDataRow) in Telerik documents to do exactly this but i can't seem to manipulate the property to achieve this.Here's the idea of the code :
public void Login_CodedStep()
{
if (ExecutionContext.CurrentDataRow. ***** == 1 {
this.ExecuteTest("Login\\VerifyFailLogin.tstest");
}
}
Many thanks in advance :)
Best Regards, Pravin