public void EditnValidate()
        {
            // Creating an instance of home page
            var homePage = new Home(driver);

            homePage.clickAdminstration();
            homePage.clickTimenMaterials();

            TimeMaterial timeMaterial = new TimeMaterial(driver);

            timeMaterial.EditNewRecord();
            timeMaterial.ValidateRecord();
        }
        public void CreateAndValidate(string code, string testDesc)
        {
            // Creating an instance of home page
            var homePage = new Home(driver);

            homePage.clickAdminstration();
            homePage.clickTimenMaterials();


            TimeMaterial timeMaterial = new TimeMaterial(driver);

            timeMaterial.clickCreateNew();
            timeMaterial.CreateNewRecord(code);
            //timeMaterial.EditNewRecord();
            //timeMaterial.DeleteNewRecord();
            timeMaterial.ValidateRecord();
        }