예제 #1
0
 /// <summary>
 /// This method login.
 /// </summary>
 /// <param name="username"></param>
 /// <param name="password"></param>
 /// <returns>  InboxPage object </returns>
 public InboxPage LoginAs(string username, string password)
 {
     TypeUsermame(username);
     TypePassword(password);
     InboxPage = new InboxPage(WebDriver);
     return(InboxPage);
 }
예제 #2
0
 public InboxPage LoginAs(string username, string password)
 {
     inboxPage = loginPage.LoginAs(username, password);
     return(inboxPage);
 }