Exemple #1
0
 public NonSsoSignOn Logout()
 {
     LogoutLink.Click();
     WebDriver.SwitchTo().ActiveElement();
     LogoutYesButton.Click();
     return(new NonSsoSignOn(WebDriver));
 }
        public HomePage SignOut()
        {
            UsernameLink.Click();
            LogoutLink.Click();

            return(Navigate(this).PostBack <HomePage>(WebDriver));
        }
Exemple #3
0
 public void ClickLogoutLink()
 {
     UserNameLink.ClickElement();
     LogoutLink.ClickElement();
 }
Exemple #4
0
 /// <summary>
 /// Logs out a user by clicking on the login link.
 /// Won't check if a user is logged in or not.
 /// </summary>
 public void LogoffUser()
 {
     LogoutLink.ClickNoWait();
 }
        //Methods

        public Boolean IsLogoutDisplayed()
        {
            return(LogoutLink.WaitForVisible(10, "LogoutLink"));
        }