Beispiel #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);
        }
Beispiel #2
0
        public void CreateTMTest()
        {
            //TM page object and create
            TMPage tmObj = new TMPage();

            tmObj.CreateTM(driver);
        }
Beispiel #3
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);
        }
Beispiel #4
0
        public void CreateTMTest()
        {
            HomePage homeObj = new HomePage();

            homeObj.NavigateToTM(driver);

            TMPage tmObj = new TMPage();

            tmObj.CreateTM(driver);
        }
        public void CreateTM_Test()
        {
            // Home page object init and definition
            HomePage homeObj = new HomePage();

            homeObj.NavigateToTM(driver);

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

            tmObj.CreateTM(driver);
        }
Beispiel #6
0
        public void CreateNewTMTest()
        {
            // Object init and define for home page
            HomePage homeObj = new HomePage();

            homeObj.NavigateToTM(driver);

            // Test 1 - Check if the user is able to create time successfully

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

            tmObj.CreateTM(driver);
        }
Beispiel #7
0
        public void TestSetUp()
        {
            //defining driver
            driver = new OpenQA.Selenium.Chrome.ChromeDriver();
            //loginpg obj
            LoginPage loginobj = new LoginPage();

            loginobj.LoginSteps(driver);

            //homepage object
            HomePage homeobj = new HomePage();

            homeobj.NavigaeToTMPage(driver);

            //Tmpage obj
            TMPage tmobj = new TMPage();

            tmobj.CreateTM(driver);


            //customer page obj
            //CustomerPage customerobj = new CustomerPage();
            //customerobj.CreateCustomer(driver);
        }
Beispiel #8
0
        public void CreateTM()
        {
            TMPage tmObj = new TMPage();

            tmObj.CreateTM(driver);
        }
        public void CreateTmTest()
        {
            TMPage tmobj = new TMPage();

            tmobj.CreateTM(driver);
        }