public void ThenIShouldBeAbleToCreateATimeRecordSuccessfully()
        {
            // Time n Material page
            TimeMaterialPage timeMaterial = new TimeMaterialPage();

            //timeMaterial.ClickCreateNewBtn();

            ////Create Time n Material Page
            //TimeMaterialCreatePage timeMaterialCreate = new TimeMaterialCreatePage(driver);
            //timeMaterialCreate.FillInValidDetails();
            //timeMaterialCreate.ClickSave();

            //validation
            timeMaterial.ValidateRecord(GlobalDriver.driver);
        }
        public void CreatenValidateTests()
        {
            //Home page
            HomePage home = new HomePage();

            home.ClickAdminstration(GlobalDriver.driver);
            home.ClickTimenMaterial(GlobalDriver.driver);

            // Time n Material page
            TimeMaterialPage timeMaterial = new TimeMaterialPage();

            //timeMaterial.ClickCreateNewBtn();

            ////Create Time n Material Page
            //TimeMaterialCreatePage timeMaterialCreate = new TimeMaterialCreatePage(driver);
            //timeMaterialCreate.FillInValidDetails();
            //timeMaterialCreate.ClickSave();

            //validation
            timeMaterial.ValidateRecord(GlobalDriver.driver);
        }