public class LoginSeleniumIT extends AbstractSeleniumTestCase
applicationContext, logger
applicationHost, applicationPath, applicationPort, applicationURL, driver, SE_TIMEOUT, wiser
Constructor | Description |
---|---|
LoginSeleniumIT() |
Modifier and Type | Method | Description |
---|---|---|
protected String[] |
getDataSetFiles() |
|
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()
getDataSetFiles
in class org.itracker.AbstractDependencyInjectionTest
Copyright © 2002–2019 itracker. All rights reserved.