public class LoginSeleniumIT extends AbstractSeleniumTestCase
classLoader, dataSet
applicationContext, logger
applicationHost, applicationPath, applicationPort, applicationURL, driver, SE_TIMEOUT, wiser
Constructor | Description |
---|---|
LoginSeleniumIT() |
Modifier and Type | Method | Description |
---|---|---|
protected String[] |
getDataSetFiles() |
must make sure, that the order is correct, so no constraints will be
violated.
|
void |
testLoginFailure() |
Verifies login failure case with invalid login/password.
|
void |
testLoginSuccessDefaultAdmin() |
Verifies the successful login case with valid login/password.
|
void |
testNotRememberMe() |
|
void |
testRememberMe() |
closeDatabase, getDataSource, getProperty, initDatabase, initializeAllLanguages, initializeLocale, onSetUp, onTearDown, resetConfiguration, setDataSource
setApplicationContext
assertElementCountEquals, assertElementCountEquals, assertElementNotPresent, assertElementNotPresent, assertElementPresent, assertElementPresent, assertElementTextEquals, assertElementTextEquals, closeSession, login, seleniumStart, takeSnapShot, waitForPageToLoad, waitForPageToLoad
public void testLoginSuccessDefaultAdmin() throws Exception
Exception
public void testLoginFailure() throws Exception
Exception
protected String[] getDataSetFiles()
AbstractDependencyInjectionTest
getDataSetFiles
in class AbstractDependencyInjectionTest
Copyright © 2002–2019 itracker. All rights reserved.