コード例 #1
0
        public void ThenTheRecordShouldBeEditedSuccessfully()
        {
            TimeMaterial timeMaterial = new TimeMaterial(driver);

            timeMaterial.ValidateRecord("edit");
            driver.Quit();
        }
コード例 #2
0
        public void GivenICreateATimeAndMaterialWithBelow(string p0, string p1)
        {
            // Creating an instance of home page
            var homePage = new Home(driver);

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


            TimeMaterial timeMaterial = new TimeMaterial(driver);

            timeMaterial.clickCreateNew();
            timeMaterial.CreateNewRecord(p0, p1);
            //timeMaterial.EditNewRecord();
            //timeMaterial.DeleteNewRecord();
            timeMaterial.ValidateRecord(p0);
        }
コード例 #3
0
        public void GivenICreateATimeAndMaterial()
        {
            // Creating an instance of home page
            var homePage = new Home(driver);

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


            TimeMaterial timeMaterial = new TimeMaterial(driver);

            timeMaterial.clickCreateNew();
            timeMaterial.CreateNewRecord("test", "testDescription");
            //timeMaterial.EditNewRecord();
            //timeMaterial.DeleteNewRecord();
            timeMaterial.ValidateRecord("test");
        }