Exemplo n.º 1
0
        public void deleteRecord()
        {
            var homePage = new Home(driver);

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

            timeMaterial.DeleteNewRecord();
        }
Exemplo n.º 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();
        }
Exemplo n.º 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();
        }
Exemplo n.º 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();
        }