Example #1
0
        private void LoginToSourcebox()
        {
            LoginPage loginPage = homepage.GotoLoginPage();

            loginPage.WaitForPageToLoad();
            loginPage.AccountName = AppConfigHandler.GetValue("AccountName");
            loginPage.UserName    = AppConfigHandler.GetValue("UserName");
            loginPage.Password    = AppConfigHandler.GetValue("Password") + Environment.NewLine;
            loginPage.PressEnter();
            Host.TakeScreenShot("LoginToSourcebox");
            Thread.Sleep(5000);
        }
Example #2
0
 //https://ushome.textkernel.com/match/users.jsp
 public UsersPage GotoUsersPage()
 {
     return(Navigate.To <UsersPage>(HostUrl + AppConfigHandler.GetValue("UsersPage")));
 }
Example #3
0
 //https://ushome.textkernel.com/match/users.jsp?account=4&newuser=true
 public NewUserPage GotoNewUserPage()
 {
     return(Navigate.To <NewUserPage>(HostUrl + AppConfigHandler.GetValue("NewUserPage")));
 }
Example #4
0
 //https://ushome.textkernel.com/match/logout.jsp
 public LogoutPage GotoLogoutPage()
 {
     return(Navigate.To <LogoutPage>(HostUrl + AppConfigHandler.GetValue("LogoutPage")));
 }