public void ThenIShouldBeAbleToDeleteTimeAndMaterial() { // Time & Material Page - Click on Delete and Confirm Delete Time and Material value. TimeandMaterialPage instanceNameTandM = new TimeandMaterialPage(GlobalDriver.driver); instanceNameTandM.deleteTimenMaterial(); //Closing driver instance GlobalDriver.driver.Close(); }
public void ThenIShouldBeAbleToEditTimeAndMaterial() { // Time & Material Page - Click on Edit Button and Edit Time and Material Value. TimeandMaterialPage instanceNameTandM = new TimeandMaterialPage(GlobalDriver.driver); instanceNameTandM.EditTimenMaterail(); //Closing driver instance GlobalDriver.driver.Close(); }
public void ThenIShouldBeAbleToEditTimeAndMaterial() { // Time & Material Page - Click on Edit Button and Edit Time and Material Value. TimeandMaterialPage instanceNameTandM = new TimeandMaterialPage(GlobalDriver.driver); ExcelLibHelpers.PopulateInCollection(@"E:\TestData\TestDataForHorseDev.xlsx", "EditTimeAndMaterials"); instanceNameTandM.EditTimenMaterail(); //Closing driver instance GlobalDriver.driver.Close(); }
public void ThenIShouldBeAbleToDeleteTimeAndMaterial() { // Time & Material Page - Click on Delete and Confirm Delete Time and Material value. TimeandMaterialPage instanceNameTandM = new TimeandMaterialPage(GlobalDriver.driver); ExcelLibHelpers.PopulateInCollection(@"E:\TestData\TestDataForHorseDev.xlsx", "DeleteTimeAndMaterials"); instanceNameTandM.deleteTimenMaterial(); //Closing driver instance GlobalDriver.driver.Close(); }
public void ThenIShouldBeAbleToCreateTimeAndMaterial() { TimeandMaterialPage inssatnceNameTandM = new TimeandMaterialPage(GlobalDriver.driver); inssatnceNameTandM.Clickcreate(); //inssatnceNameTandM.Savebutton1(); ExcelLibHelpers.PopulateInCollection(@"E:\TestData\TestDataForHorseDev.xlsx", "CreateTimeAndMaterials"); inssatnceNameTandM.CreateTimeAndMaterial(); //GlobalDriver.driver.Dispose(); //Closing driver instance GlobalDriver.driver.Close(); }