Beispiel #1
0
        public void setup()
        {
            //defining driver
            CommerDriver.driver = new ChromeDriver();

            //login object and logging into turnup
            Loginpage loginpage = new Loginpage();

            loginpage.loginsteps();

            //homepage object and navigates to TM page
            Homepage homepage = new Homepage();

            homepage.navigatesTM();
        }
Beispiel #2
0
        public void Testsetup()
        {
            //define driver
            driver = new ChromeDriver();

            //loginpage object
            Loginpage loginobj = new Loginpage();

            loginobj.loginsteps(driver);

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

            homeobj.Navigatetocustomerpage(driver);
        }