public class CrowdWebDriverTest extends CrowdAcceptanceTestCase
Modifier and Type | Field and Description |
---|---|
protected static String |
IMMUTABLE_USER_NAME |
protected static String |
IMMUTABLE_USER_PW |
com.atlassian.webdriver.testing.rule.LogPageSourceRule |
logPageSourceRule |
protected static String |
TEST_USER_NAME |
protected static String |
TEST_USER_PW |
protected CrowdTestedProduct |
testedProduct |
com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule |
webDriverScreenshotRule |
com.atlassian.webdriver.testing.rule.WindowSizeRule |
windowSizeRule |
ADMIN_EMAIL, ADMIN_FULL_NAME, ADMIN_GROUP, ADMIN_PW, ADMIN_USER, BATCHED_TEST_RULE, DEVELOPER_LICENSE_KEY, EVALUATION_DC_KEY, EXPIRED_MAINTENANCE_KEY, HOST_PATH, logger, specProperties, testWatcher, UNLIMITED_LICENSE_KEY, URL_HOME, USER_DETAILS_TABLE_ID, WORKGROUP_LICENSE_KEY
i18n
Constructor and Description |
---|
CrowdWebDriverTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
deleteAllCookies() |
protected ViewProfilePage |
loginAsNonAdmin(String username,
String password) |
protected <T extends com.atlassian.pageobjects.Page> |
loginAsSysAdmin(Class<T> targetPage,
Object... args) |
protected ViewProfilePage |
loginImmutableUser() |
protected ViewProfilePage |
loginTestUser() |
void |
setUp() |
_loginAdminUser, _loginAsUser, _logout, assertAtLoginForm, assertIsLoggedIn, assertIsLoggedOut, assertMatchInTableBody, assertNoMatchInTableBody, assertUnescapedKeyNotPresent, assertUnescapedKeyPresent, assertUserInTable, assertUserInTable, assertUserNotInTable, completeInitialSetupIfNeeded, getBaseUrl, getCrowdApplicationPassword, getCrowdHome, getGroupTableContents, getUserDetailsTableContents, gotoAddApplication, gotoAddGroup, gotoAddPrincipal, gotoAdministrationPage, gotoBackup, gotoBrowseApplications, gotoBrowseDirectories, gotoBrowseGroups, gotoBrowseGroups, gotoBrowsePrincipals, gotoBrowsePrincipals, gotoCreateDirectory, gotoCurrentApplicationSessions, gotoCurrentPrincipalSessions, gotoGeneral, gotoImporters, gotoLdapConnectionPool, gotoLicensing, gotoLoggingProfiling, gotoMailServer, gotoMailTemplate, gotoRemovePrincipal, gotoRestore, gotoSAMLConfig, gotoSessionConfig, gotoSystemInfo, gotoTrustedProxies, gotoViewApplication, gotoViewApplicationDirectories, gotoViewGroup, gotoViewPrincipal, intendToModifyData, intendToModifyLdapData, log, namesOf, restoreBaseSetup, restoreCrowdFromXML, restoreCrowdFromXMLWithoutReloggingIn, submitLoginForm, submitLoginFormAsAdminUser, userWithDetails
addRequestHeader, assertButtonNotPresent, assertButtonPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxSelected, assertElementIsDisabled, assertElementIsEnabled, assertElementNotPresent, assertElementNotPresentByXPath, assertElementPresent, assertElementPresentByXPath, assertErrorNotPresent, assertErrorPresent, assertErrorPresentWithKey, assertFieldErrorPresentWithKey, assertFormPresent, assertInfoPresent, assertKeyInElement, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeyPresent, assertKeyPresentOnce, assertLinkNotPresent, assertLinkPresent, assertLinkPresentWithExactText, assertLinkPresentWithKey, assertMatchInTable, assertMatchInTable, assertRadioOptionNotPresent, assertRadioOptionSelected, assertSelectedOptionEquals, assertSelectedOptionValueEquals, assertSelectOptionNotPresent, assertServerResponseContains, assertServerResponseDoesNotContain, assertSubmitButtonNotPresent, assertSuccessPresent, assertTableEquals, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInTable, assertTextNotInTable, assertTextNotPresent, assertTextPresent, assertTextPresent, assertTitleEquals, assertTitleMatch, assertTitleNotEquals, assertWarningAndErrorNotPresent, assertWarningNotPresent, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkWithExactText, clickLinkWithKey, clickLinkWithText, clickLinkWithText, clickRadioOption, closeBrowser, equalToIgnoringWhiteSpace, getDialog, getElementAttributeByXPath, getElementById, getElementByXPath, getElementsByXPath, getElementTextById, getElementTextByXPath, getElementValueByID, getMessage, getName, getPageSource, getPageText, getResponseHeaders, getTable, getTestContext, getTestingEngine, getText, getTextForList, getWebTester, gotoPage, isTextPresent, scrapeTable, scrapeTable, scrapeTable, selectOption, selectOption, selectOptionByValue, setRadioButton, setScriptingEnabled, setTester, setTextField, setWorkingForm, setWorkingForm, submit, submit, uncheckCheckbox, waitFor, waitForElementById, waitForElementByXPath, waitForElementToDisappearByXPath, waitForText, waitForText
public com.atlassian.webdriver.testing.rule.LogPageSourceRule logPageSourceRule
public com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule webDriverScreenshotRule
public com.atlassian.webdriver.testing.rule.WindowSizeRule windowSizeRule
protected static final String TEST_USER_NAME
protected static final String TEST_USER_PW
protected static final String IMMUTABLE_USER_NAME
protected static final String IMMUTABLE_USER_PW
protected CrowdTestedProduct testedProduct
public void setUp() throws Exception
setUp
in class CrowdAcceptanceTestCase
Exception
protected ViewProfilePage loginTestUser()
protected ViewProfilePage loginImmutableUser()
protected ViewProfilePage loginAsNonAdmin(String username, String password)
protected <T extends com.atlassian.pageobjects.Page> T loginAsSysAdmin(Class<T> targetPage, Object... args)
protected void deleteAllCookies()
Copyright © 2017 Atlassian. All rights reserved.