コード例 #1
0
        //login page actions
        //login to shipping manager and passes common page object
        public SmCommonPageObject Login()
        {
            //username + pw + submit
            InputUserName.SendKeys("CORP_Webdriver");
            InputPassword.SendKeys("ANapPqH<");
            BtnLogin.Submit();

            Console.WriteLine("input credentials, logged into Shipping Manager");

            //return page object
            return(new SmCommonPageObject());
        }