public void LogOut(String userName) {
        try {
            print("User Log-out from the system.");
            driver.findElement(By.partialLinkText(userName)).click();
            waitTillElementLoad(By.linkText("Logout"));
            driver.findElement(By.linkText("Logout")).click();
            print("Successfully logged-out from the system.");
        } catch (Exception ex) {
            print("Logout failed.");
        }
    }