public class LoginGadget
extends it.com.atlassian.gadgets.pages.Gadget
Modifier and Type | Field and Description |
---|---|
static String |
ID
Login gadget is built-in and always has this ID.
|
Constructor and Description |
---|
LoginGadget() |
LoginGadget(String id) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.pageobjects.elements.PageElement |
getError()
Get first error.
|
Iterable<com.atlassian.pageobjects.elements.PageElement> |
getErrors() |
com.atlassian.pageobjects.elements.PageElement |
getLoginButton() |
com.atlassian.pageobjects.elements.PageElement |
getPasswordField() |
com.atlassian.pageobjects.elements.PageElement |
getPublicModeOffMessage() |
com.atlassian.pageobjects.elements.PageElement |
getUsernameField() |
boolean |
hasErrors() |
boolean |
hasPublicModeOffMessage() |
DashboardPage |
login(User user) |
changeColor, delete, dragTo, dragTo, dragTo, find, find, find, find, findAll, findAll, findAll, findAll, getChrome, getChromeWebElement, getColor, getDashboardItemText, getErrorMsgText, getHtml, getId, getMain, getMainText, getMainWebElement, getText, getTitleBar, getTitleBarWebElement, isDashboardItem, isMinimized, maximize, minimize, openMenu, switchBack, switchTo, switchTo, switchToIframe
public static final String ID
public LoginGadget()
public LoginGadget(String id)
public DashboardPage login(User user)
public com.atlassian.pageobjects.elements.PageElement getUsernameField()
public com.atlassian.pageobjects.elements.PageElement getPasswordField()
public com.atlassian.pageobjects.elements.PageElement getLoginButton()
public com.atlassian.pageobjects.elements.PageElement getPublicModeOffMessage()
public com.atlassian.pageobjects.elements.PageElement getError()
PageElement.isPresent()
of the returned element will return false
.public Iterable<com.atlassian.pageobjects.elements.PageElement> getErrors()
public boolean hasPublicModeOffMessage()
public boolean hasErrors()
Copyright © 2002-2017 Atlassian. All Rights Reserved.