public void WhenICreateEditEntryUsingRandomCodeAndDesc(string editCode, string editDesc) { var TMPage = new TMpage(); var randomCode = TMPage.CreateRandomCode(); _context.editCode = randomCode; _context.editDesc = randomCode + "desc"; TMpage.CreateEditWithValues(driver, _context.editCode, _context.editDesc); }
public void WhenICreateEntryUsingCodeCodeAndDesc(string code, string desc) { var TMPage = new TMpage(); var randomCode = TMPage.CreateRandomCode(); // share it with THEN Step below _context.Code = randomCode; _context.Desc = randomCode + "desc"; TMPage.CreateTMWithValues(driver, _context.Code, _context.Desc); }