public void GivenIHaveNavigateToTheTimeAndMaterialPage() { TimenMaterialPage tmPage = new TimenMaterialPage(); tmPage.ClickCreateNew(driver); tmPage.EnterValidDataandSave(driver); }
public void ThenIShouldBeAbleToEditATimeAndMaterialRecord_() { TimenMaterialPage tmPage = new TimenMaterialPage(); tmPage.ClickCreateNew(driver); tmPage.EnterValidDataandSave(driver); tmPage.ValidateData(driver); }
public void ThenIShouldCreateTimeAndMaterialPageSuccessfully() { TimenMaterialPage tmPage = new TimenMaterialPage(); tmPage.ClickCreateNew(driver); tmPage.EnterValidDataandSave(driver); tmPage.ValidateData(driver); }
public void CreateTMnValidate() { //Class for Home page, // method to verify the home // method to click adminstration // method to click time n material HomePage homeInstance = new HomePage(driver); homeInstance.VerifyHomePage(); homeInstance.ClickAdminstration(); homeInstance.ClickTimenMaterial(); TimenMaterialPage tmPage = new TimenMaterialPage(driver); tmPage.ClickCreateNew(); tmPage.EnterValidDataandSave(); tmPage.ValidateData("modify"); }