Пример #1
0
        public void deleteRecord()
        {
            var homePage = new Home(driver);

            homePage.clickAdminstration();
            homePage.clickTimenMaterials();
            TimeMaterial timeMaterial = new TimeMaterial(driver);

            timeMaterial.DeleteNewRecord();
        }
Пример #2
0
        public void EditnValidate(string code, string Description)
        {
            // Creating an instance of home page
            var homePage = new Home(driver);

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

            TimeMaterial timeMaterial = new TimeMaterial(driver);

            timeMaterial.EditNewRecord();
            // timeMaterial.ValidateRecord();
        }
Пример #3
0
        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();
        }
Пример #4
0
        public void CreateAndValidate(string code, string Description)
        {
            // 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, Description);
            //Thread.Sleep(3000);


            timeMaterial.validateRecord();
        }