コード例 #1
0
        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();
        }
コード例 #2
0
        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();
        }
コード例 #3
0
        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();
        }
コード例 #4
0
        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();
        }
コード例 #5
0
        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();
        }