Exemplo n.º 1
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);
        }
Exemplo n.º 2
0
        public void DeleteTMTest()
        {
            //TM page object and delete
            TMPage tmObj = new TMPage();

            tmObj.DeleteTM(driver);
        }
Exemplo n.º 3
0
        public void DeleteTesst()
        {
            // TM page obj and Delete step
            TMPage tmObj = new TMPage();

            tmObj.DeleteTM(driver); // test 3
        }
Exemplo n.º 4
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);
        }
Exemplo n.º 5
0
        static void DeleteTMTest()
        {
            //steps to delete TM
            TMPage deleteObj = new TMPage();

            deleteObj.DeleteTM(CommonDriver.Driver);
        }
        public void DeleteTMTest()
        {
            //TM object and delete step

            TMPage deleteObj = new TMPage();

            deleteObj.DeleteTM(driver);
        }
Exemplo n.º 7
0
        public void ThenIShouldBeAbleToDeleteTimeAndMaterialEntryWithValidData()
        {
            //create page object for TM page
            TMPage tmObj = new TMPage();

            //Delete TM test case
            tmObj.DeleteTM(driver);
        }
        public void ThenIShouldBeAbleToDeleteTimeRecord()
        {
            // page object for TM page
            TMPage tmObj = new TMPage();

            // Delete TM test case
            tmObj.DeleteTM(driver);
            // quit driver
            //driver.Quit();
        }
Exemplo n.º 9
0
        public void DeleteTMTest()
        {
            HomePage homeObj = new HomePage();

            homeObj.NavigateToTM(driver);

            TMPage tmObj = new TMPage();

            tmObj.DeleteTM(driver);
        }
Exemplo n.º 10
0
        public void DeleteTMTest()
        {
            HomePage homeobj = new HomePage();

            homeobj.NavigateToTm(driver);
            //Create page Object for TMPage
            TMPage tmobj = new TMPage();

            //Delete TM Test Case
            tmobj.DeleteTM(driver);
        }
Exemplo n.º 11
0
        public void DeleteTM_Test()
        {
            //Home page object init and defination
            HomePage homeobj = new HomePage();

            homeobj.NavigateToEmployee(driver);

            //Delete exsiting TM test
            TMPage tmobj = new TMPage();

            tmobj.DeleteTM(driver);
        }
Exemplo n.º 12
0
        public void DeleteTMTest()
        {
            // page object for home page
            HomePage homeObj = new HomePage();

            homeObj.NavigateToTM(driver);

            // page object for TM page
            TMPage tmObj = new TMPage();

            // delete TM test case
            tmObj.DeleteTM(driver);
        }
Exemplo n.º 13
0
        public void DeleteTMTest()
        {
            //Create page object for HOME PAGE
            HomePage homeObj = new HomePage();

            homeObj.NavigatetoTM(driver);

            //create page object for TM page
            TMPage tmObj = new TMPage();

            //Delete TM test case
            tmObj.DeleteTM(driver);
        }
Exemplo n.º 14
0
        public void DeleteTM_Test()
        {
            // Home page object init and definition
            HomePage homeObj = new HomePage();

            homeObj.NavigateToTM(driver);

            // TM page object init and definition
            TMPage tmObj = new TMPage();

            // Edit existing TM test
            tmObj.DeleteTM(driver);
        }
Exemplo n.º 15
0
        public void DeleteTMTest()
        {
            // Object init and define for home page
            HomePage homeObj = new HomePage();

            homeObj.NavigateToTM(driver);

            // Test 3 - Check if the user is able to delete time successfully

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

            tmObj.DeleteTM(driver);
        }
Exemplo n.º 16
0
        //Delete
        public void DeleteTM()
        {
            TMPage tmObj = new TMPage();

            tmObj.DeleteTM(driver);
        }
        public void DeleteTmTest()
        {
            TMPage tmobj = new TMPage();

            tmobj.DeleteTM(driver);
        }