예제 #1
0
        public void CreateTM()
        {
            TMPage tmObj = new TMPage();

            //tmObj.CrtTM(driver);
            tmObj.ValidateTM(driver);
        }
예제 #2
0
        public void Edit()
        {
            TMPage tmpageobj = new TMPage(CommonDriver.driver);

            tmpageobj.Edit();
            tmpageobj.ValidateEdit();
        }
        public void CreateTM()
        {
            TMPage tmObj = new TMPage(driver);

            tmObj.CrtTM(driver);
            tmObj.ValidateNewRecord(driver);
        }
예제 #4
0
 public TMPageSteps()
 {
     driver = new ChromeDriver(@"/Users/aman.bansal/Projects/Mar2021/Mar2021/");
     tmPage = new TMPage(driver);
     loginPage = new LoginPage(driver);
      homePage = new HomePage();
 }
예제 #5
0
        public void testEditTM()
        {
            //TMPage object and Editing an record
            TMPage tMPage = new TMPage();

            tMPage.editTM();
        }
예제 #6
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");

            //init driver

            IWebDriver driver = new ChromeDriver();

            //Login page object init and defination
            LoginPage loginobj = new LoginPage();

            loginobj.LoginSteps(driver);

            //Home page object init and defination
            HomePage homeobj = new HomePage();

            homeobj.NavigateToTM(driver);

            //TM page object init and defination
            TMPage tmobj = new TMPage();

            tmobj.CreateTM(driver);

            //Edit existing TM test
            tmobj.EditTM(driver);

            //Delete exsiting TM test
            tmobj.DeleteTM(driver);
        }
예제 #7
0
        static void DeleteTMTest()
        {
            //steps to delete TM
            TMPage deleteObj = new TMPage();

            deleteObj.DeleteTM(CommonDriver.Driver);
        }
예제 #8
0
        public void testCreateTM()
        {
            //TMPage object and Creating a record
            TMPage tMPage = new TMPage();

            tMPage.createTM();
        }
예제 #9
0
        static void EditTMTest()
        {
            //steps to edit TM
            TMPage editObj = new TMPage();

            editObj.EditTM(CommonDriver.Driver);
        }
예제 #10
0
        static void AddTMTest()
        {
            //steps for create new TM
            TMPage tmObj = new TMPage();

            tmObj.AddTM(CommonDriver.Driver);
        }
예제 #11
0
        public void DeleteTMTest()
        {
            //Steps to delete an existing TM
            TMPage tmObj = new TMPage();

            tmObj.deleteTM(CommonDriver.driver);
        }
예제 #12
0
        public void Delete()
        {
            TMPage tmpageobj = new TMPage(CommonDriver.driver);

            tmpageobj.Delete();
            tmpageobj.ValidateDelete();
        }
예제 #13
0
        static void Main(string[] args)
        {
            // Intitialize and define webdirver
            IWebDriver driver = new ChromeDriver(".");

            // Object init and define for login page
            LoginPage loginObj = new LoginPage();

            loginObj.LoginSteps(driver);

            // Object init and define for home page
            HomePage homeObj = new HomePage();

            homeObj.NavigateToTM(driver);

            //Object init and define for TM page
            TMPage tmObj = new TMPage();

            tmObj.CreateTM(driver);

            // Test 2 - Check if the user is able to edit time successfully
            tmObj.EditTM(driver);

            // Test 3 - Check if the user is able to edit time successfully
            tmObj.DeleteTM(driver);
        }
예제 #14
0
        public void testcreateTM()
        {
            //TMpage object and create new record
            TMPage tmpage = new TMPage();

            tmpage.createTM();
        }
예제 #15
0
        public void AddTMTest()
        {
            //Steps to create a TM
            TMPage tmObj = new TMPage();

            tmObj.addTM(CommonDriver.driver);
        }
예제 #16
0
        public void EditTMTest()
        {
            //TM page object and edit
            TMPage tmObj = new TMPage();

            tmObj.EditTM(driver);
        }
예제 #17
0
        public void ThenIShouldBeAbleToCreateMaterialWithValidDetailsSuccessfully()
        {
            //Create TM
            TMPage tmObj = new TMPage();

            tmObj.createTM(CommonDriver.driver);
        }
예제 #18
0
        public void DeleteTMTest()
        {
            //TM page object and delete
            TMPage tmObj = new TMPage();

            tmObj.DeleteTM(driver);
        }
예제 #19
0
        public void DeleteTesst()
        {
            // TM page obj and Delete step
            TMPage tmObj = new TMPage();

            tmObj.DeleteTM(driver); // test 3
        }
예제 #20
0
        public void CreateTMTest()
        {
            //TM page object and create
            TMPage tmObj = new TMPage();

            tmObj.CreateTM(driver);
        }
예제 #21
0
        public void EditTMTest()
        {
            // TM page obj and Edit step
            TMPage tmObj = new TMPage();

            tmObj.EditTM(driver);  // test 2
        }
예제 #22
0
        public void testEditTM()
        {
            //TMpage object and editing an existing record
            TMPage tmPage = new TMPage(driver);

            tmPage.editTM();
        }
예제 #23
0
        public void CreateTMnValidate()
        {
            var tmPage = new TMPage(driver);

            tmPage.createTM();
            tmPage.ValidateTM();
        }
예제 #24
0
        public void EditTMTest()
        {
            //Steps to edit an existing TM
            TMPage tmObj = new TMPage();

            tmObj.editTM(CommonDriver.driver);
        }
        public void ThenIShouldBeAbleToEditTimeRecordWithUpdatedInformation()
        {
            //page object for TM page
            TMPage tmobj = new TMPage();

            //edit TM test case
            tmobj.EditTM(driver);
        }
        public void ThenIShouldBeAbleToCreateTimeRecordWithValidInformation()
        {
            //page object for TM page
            TMPage tmobj = new TMPage();

            //create new TM Test case
            tmobj.AddTM(driver);
        }
예제 #27
0
        public void ThenIWouldBeAbleToCreateATimeRecordWithValidDetailsSucessfully()
        {
            //object for TM page
            TMPage tmpageobj = new TMPage(CommonDriver.driver);

            tmpageobj.Create();
            tmpageobj.Edit();
        }
        public void DeleteTMTest()
        {
            //TM object and delete step

            TMPage deleteObj = new TMPage();

            deleteObj.DeleteTM(driver);
        }
        public void EditTMTest()
        {
            //TM object and edit step

            TMPage editObj = new TMPage();

            editObj.EditTM(driver);
        }
예제 #30
0
        public void ThenIShouldBeAbleToEditTimeAndMaterialEntryWithValidData()
        {
            //create page object for TM page
            TMPage tmObj = new TMPage();

            //Edit TM test cases
            tmObj.EditTM(driver);
        }