public void GivenICreateANewTimeAndMaterialRecord() { //Creating instance of time and material TimeMaterial timematerial = new TimeMaterial(); timematerial.ClickCreatenew(); timematerial.CreateNewRecord("jack1", "jack1Desc"); timematerial.ValidateNewRecord("jack1", "jack1Desc"); }
public void GivenICreateANewTimeAndMaterialWithBelowTestdec(string p0, string p1) { //Creating instance of time and material TimeMaterial timematerial = new TimeMaterial(); timematerial.ClickCreatenew(); timematerial.CreateNewRecord(p0, p1); timematerial.ValidateNewRecord(p0, p1); }
public void WhenICreateNewTimeAndMaterialForm() { TimeMaterial timeMaterial = new TimeMaterial(driver); timeMaterial.clickCreateNew(); timeMaterial.CreateNewRecord("ck", "des1"); // timeMaterial.validateRecord(); }
public void GivenICreateATimeAndMaterialWithBelow(string p0, string p1) { // Creating an instance of home page var homePage = new Home(driver); homePage.clickAdminstration(); homePage.clickTimenMaterials(); TimeMaterial timeMaterial = new TimeMaterial(driver); timeMaterial.clickCreateNew(); timeMaterial.CreateNewRecord(p0, p1); //timeMaterial.EditNewRecord(); //timeMaterial.DeleteNewRecord(); timeMaterial.ValidateRecord(p0); }
public void GivenICreateATimeAndMaterial() { // Creating an instance of home page var homePage = new Home(driver); homePage.clickAdminstration(); homePage.clickTimenMaterials(); TimeMaterial timeMaterial = new TimeMaterial(driver); timeMaterial.clickCreateNew(); timeMaterial.CreateNewRecord("test", "testDescription"); //timeMaterial.EditNewRecord(); //timeMaterial.DeleteNewRecord(); timeMaterial.ValidateRecord("test"); }