public class LoginElement
extends com.vaadin.testbench.TestBenchElement
| Constructor and Description |
|---|
LoginElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
forgotPassword()
Provides a shortcut for clicking the forgot password button
|
String |
getAdditionalInformation()
Returns the additional information placed in a footer
of the login element
|
String |
getErrorMessage()
Returns the error message text.
|
String |
getErrorMessageTitle()
Returns the error message title.
|
com.vaadin.flow.component.button.testbench.ButtonElement |
getForgotPasswordButton()
Returns the forgot password button
|
String |
getFormTitle()
Returns the form title of the login element
|
String |
getMessage()
Returns the message under the title of the login element
|
com.vaadin.flow.component.textfield.testbench.PasswordFieldElement |
getPasswordField()
Returns the password field
|
com.vaadin.flow.component.button.testbench.ButtonElement |
getSubmitButton()
Returns the log in button
|
String |
getTitle()
Returns the title of the login element
|
com.vaadin.flow.component.textfield.testbench.TextFieldElement |
getUsernameField()
Returns the username field
|
void |
submit()
Provides a shortcut for clicking the submit button
|
callFunction, clear, click, click, compareScreen, compareScreen, compareScreen, contextClick, dispatchEvent, doubleClick, equals, executeScript, findElement, findElements, focus, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getContext, getCssValue, getDriver, getLocation, getProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isIE, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, setProperty, setProperty, setProperty, setProperty, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElementspublic com.vaadin.flow.component.textfield.testbench.TextFieldElement getUsernameField()
public com.vaadin.flow.component.textfield.testbench.PasswordFieldElement getPasswordField()
public com.vaadin.flow.component.button.testbench.ButtonElement getSubmitButton()
public void submit()
submit in interface org.openqa.selenium.WebElementsubmit in class com.vaadin.testbench.TestBenchElementpublic com.vaadin.flow.component.button.testbench.ButtonElement getForgotPasswordButton()
public void forgotPassword()
public String getTitle()
public String getMessage()
public String getFormTitle()
public String getErrorMessageTitle()
public String getErrorMessage()
public String getAdditionalInformation()
Copyright © 2018 Vaadin Ltd. All Rights Reserved.