예제 #1
0
        public void GivenIHaveNavigateToTheTimeAndMaterialPage()
        {
            TimenMaterialPage tmPage = new TimenMaterialPage();

            tmPage.ClickCreateNew(driver);
            tmPage.EnterValidDataandSave(driver);
        }
예제 #2
0
        public void ThenIShouldBeAbleToEditATimeAndMaterialRecord_()
        {
            TimenMaterialPage tmPage = new TimenMaterialPage();

            tmPage.ClickCreateNew(driver);
            tmPage.EnterValidDataandSave(driver);
            tmPage.ValidateData(driver);
        }
예제 #3
0
        public void ThenIShouldCreateTimeAndMaterialPageSuccessfully()
        {
            TimenMaterialPage tmPage = new TimenMaterialPage();

            tmPage.ClickCreateNew(driver);
            tmPage.EnterValidDataandSave(driver);
            tmPage.ValidateData(driver);
        }
예제 #4
0
        public void CreateTMnValidate()
        {
            //Class for Home page,
            // method to verify the home
            // method to click adminstration
            // method to click time n material

            HomePage homeInstance = new HomePage(driver);

            homeInstance.VerifyHomePage();
            homeInstance.ClickAdminstration();
            homeInstance.ClickTimenMaterial();

            TimenMaterialPage tmPage = new TimenMaterialPage(driver);

            tmPage.ClickCreateNew();
            tmPage.EnterValidDataandSave();
            tmPage.ValidateData("modify");
        }