Exemplo n.º 1
0
 public NonSsoSignOn Logout()
 {
     LogoutLink.Click();
     WebDriver.SwitchTo().ActiveElement();
     LogoutYesButton.Click();
     return(new NonSsoSignOn(WebDriver));
 }
Exemplo n.º 2
0
        public HomePage SignOut()
        {
            UsernameLink.Click();
            LogoutLink.Click();

            return(Navigate(this).PostBack <HomePage>(WebDriver));
        }
Exemplo n.º 3
0
 public void ClickLogoutLink()
 {
     UserNameLink.ClickElement();
     LogoutLink.ClickElement();
 }
Exemplo n.º 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"));
        }