コード例 #1
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();
        }
コード例 #2
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();
        }