public void WhenICreateEntryUsingRandomCodeAndDesc(string code, string desc) { var TMPage = new TMpage(); var randomCode = TMPage.CreateRandomCode(); _context.Code = randomCode; _context.Desc = randomCode + "desc"; TMPage.CreateTMWithValues(driver, _context.Code, _context.Desc); }
public void WhenICreateEntriesUsingValuesFromTable(Table table) { var code = string.Empty; var desc = string.Empty; var data = table; var TMPage = new TMpage(); for (var i = 0; i < data.Rows.Count; i++) { code = data.Rows[i]["code"]; desc = data.Rows[i]["desc"]; TMPage.CreateTMWithValues(driver, code, desc); } }
public void WhenICreateEntryUsingCodeAndDesc(string code, string desc) { var TMPage = new TMpage(); TMPage.CreateTMWithValues(driver, code, desc); }