public abstract class WebDriverLegacyITBase extends Object implements Failable
Originally used to upgrade UpgradedSeleniumITBase (Selenium 1.0) tests to WebDriver (Selenium 2.0). Now there is refactoring to be done:
#CONSTANT
.
Calls to passed() probably don't belong in the methods reused here.
Modifier and Type | Field and Description |
---|---|
static String |
ADMINISTRATION_LINK_TEXT
Administration
|
static String |
AGENDA_LOOKUP_LINK_TEXT
Agenda Lookup
|
static String |
ARIA_INVALID_XPATH
"//input[@aria-invalid]"
|
static String |
BLANKET_APPROVE_NAME
methodToCall.blanketApprove
|
static String |
CANCEL_NAME
methodToCall.cancel
different cancel than CANCEL2_XPATH
|
static String |
CANCEL2_XPATH
//a[contains(text(), 'ancel')]
Different cancel than CANCEL_NAME
|
static String |
CLOSE_WINDOW_XPATH_TITLE
//*[@title='close this window']
|
static String |
COLLECTIONS_LINK_TEXT
Collections
|
static String |
CONFIGURATION_VIEW_WINDOW_TITLE
"Kuali :: Configuration Test View"
|
static String |
CONFIGURATION_VIEW_XPATH
(//a[contains(text(),'Configuration Test View')])[3]
|
static String |
COPY_LINK_TEXT
copy
|
static String |
CREATE_NEW_DOCUMENT_NOT_SUBMITTED_SUCCESSFULLY_MESSAGE_TEXT
New Document not submitted successfully
|
static String |
CREATE_NEW_XPATH
//img[@alt='create new']
|
static int |
DEFAULT_WAIT_SEC
Default "long" wait period is 30 seconds.
|
static String |
DIV_LEFT_ERRMSG
//div[@class='left-errmsg-tab']/div/div
|
static String |
DOC_CODE_XPATH
//input[@id='document.newMaintainableObject.code']
|
static String |
DOC_DESCRIPTION_XPATH
//input[@id='document.documentHeader.documentDescription']
|
static String |
DOC_ID_XPATH
//div[@id='headerarea']/div/table/tbody/tr[1]/td[1]
|
static String |
DOC_ID_XPATH_2
//table[@id='row']/tbody/tr[1]/td[1
|
static String |
DOC_ID_XPATH_3
//table[@id='row']/tbody/tr[1]/td[1]/a
|
static String |
DOC_SEARCH_XPATH
"//img[@alt='doc search']
|
static String |
DOC_SEARCH_XPATH_TITLE
//a[@title='Document Search']
|
static String |
DOC_STATUS_ENROUTE
ENROUTE
|
static String |
DOC_STATUS_FINAL
FINAL
|
static String |
DOC_STATUS_SAVED
SAVED
|
static String |
DOC_STATUS_XPATH
//table[@class='headerinfo']//tr[1]/td[2]
|
static String |
DOC_STATUS_XPATH_2
//table[@id='row']/tbody/tr[1]/td[4]
|
static String |
DOC_SUBMIT_SUCCESS_MSG_XPATH
//div[contains(div,'Document was successfully submitted.')]
|
static String |
DONT_TEAR_DOWN_ON_FAILURE_PROPERTY
Set -Dremote.driver.dontTearDownOnFailure=
|
protected org.openqa.selenium.WebDriver |
driver |
static String |
EDIT_LINK_TEXT
edit
|
static String |
FISCAL_OFFICER_INFO_MAINTENANCE_NEW_XPATH
//a[@title='FiscalOfficerInfo Maintenance (New)']
|
static String |
IFRAMEPORTLET_NAME
iframeportlet
|
protected String |
jGrowlHeader |
static String |
KITCHEN_SINK_XPATH
(//a[contains(text(),'Uif Components (Kitchen Sink)')])[2]
|
static String |
KRAD_XPATH
KRAD
|
static String |
KUALI_COLLECTION_TOTALLING_WINDOW_XPATH
Kuali :: Collection Totaling
|
static String |
KUALI_COLLECTION_TOTALLING_XPATH
//a[text()='Collection Totaling']
|
static String |
KUALI_UIF_COMPONENTS_WINDOW_XPATH
Kuali :: Uif Components
|
static String |
KUALI_VIEW_WINDOW_TITLE
"Kuali :: View Title"
|
static String |
LOGOUT_XPATH
//input[@name='imageField' and @value='Logout']
|
static String |
MAIN_MENU_LINK_TEXT
Main Menu
|
protected boolean |
passed |
static String |
REGEX_ERROR
^[\s\S]*error[\s\S]*$"
|
static String |
REGEX_VALID
^[\s\S]*valid[\s\S]*$
|
static String |
REMOTE_PUBLIC_USER_PROPERTY
Set -Dremote.public.user= to the username to login as
|
static String |
REMOTE_PUBLIC_USERPOOL_PROPERTY
You probably don't want to really be using a userpool, set -Dremote.public.userpool= to base url if you must.
|
static String |
REMOTE_PUBLIC_WAIT_SECONDS_PROPERTY
Set -Dremote.public.wait.seconds to override DEFAULT_WAIT_SEC
|
static String |
RETURN_VALUE_LINK_TEXT
return value
|
static String |
RICH_MESSAGES_WINDOW_TITLE
Kuali :: Rich Messages
|
static String |
SAVE_SUCCESSFUL_XPATH
//div[contains(div,'Document was successfully saved.')]
|
static String |
SAVE_XPATH
//input[@name='methodToCall.save' and @alt='save']
|
static String |
SAVE_XPATH_2
KIM Screens
//*[@name='methodToCall.save' and @alt='save']
|
static String |
SAVE_XPATH_3
//input[@title='search' and @name='methodToCall.search']
|
static String |
SEARCH_XPATH
//input[@name='methodToCall.search' and @value='search']
|
static String |
SEARCH_XPATH_2
//input[@value='search']
|
static String |
SEARCH_XPATH_3
//button[contains(text(),'Search')]
|
static String |
SUB_COLLECTION_UIF_DISCLOSURE_SPAN_UIF_HEADER_TEXT_SPAN_XPATH
div.uif-group.uif-collectionGroup.uif-tableCollectionGroup.uif-tableSubCollection.uif-disclosure span.uif-headerText-span
|
static String |
SUBMIT_XPATH
//input[@name='methodToCall.route' and @alt='submit']
|
protected String |
testMethodName |
org.junit.rules.TestName |
testName |
static String |
TIMEOUT_MESSAGE
timeout
|
static String |
TRAVEL_ACCOUNT_LOOKUP_LINK_TEXT
Travel Account Lookup
|
static String |
UIF_COMPONENTS_KITCHEN_SINK_LINK_TEXT
Uif Components (Kitchen Sink)
|
protected String |
uiFramework |
protected String |
user |
static String |
VALIDATION_FRAMEWORK_DEMO_XPATH
(//a[contains(text(),'Validation Framework Demo')])[2]
|
protected int |
waitSeconds |
static String |
XML_INGESTER_LINK_TEXT
XML Ingester
|
Constructor and Description |
---|
WebDriverLegacyITBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
agendaLookupAssertions() |
protected void |
alertAccept()
Accept the javascript alert (clicking OK)
|
protected void |
alertDismiss()
Dismiss the javascript alert (clicking Cancel)
|
protected void |
assertAttributeClassRegexDoesntMatch(String field,
String regex) |
protected void |
assertAttributeClassRegexMatches(String field,
String regex) |
protected void |
assertBlanketApproveButtonsPresent() |
protected void |
assertButtonDisabledByText(String buttonText) |
protected void |
assertButtonEnabledByText(String buttonText) |
protected void |
assertCancelConfirmation() |
protected void |
assertDocFinal(String docId) |
protected void |
assertDocumentStatusSaved() |
protected void |
assertElementPresent(String locator) |
protected void |
assertElementPresentByLinkText(String linkText) |
protected void |
assertElementPresentByName(String name) |
protected void |
assertElementPresentByName(String name,
String message) |
protected void |
assertElementPresentByXpath(String locator) |
protected void |
assertElementPresentByXpath(String locator,
String message) |
protected void |
assertFocusTypeBlurError(String field,
String textToType) |
protected void |
assertFocusTypeBlurError(String field,
String[] errorInputs) |
protected void |
assertFocusTypeBlurValid(String field,
String textToType) |
protected void |
assertFocusTypeBlurValid(String field,
String[] validInputs) |
protected void |
assertFocusTypeBlurValidation(String field,
String[] errorInputs,
String[] validInputs) |
protected void |
assertIsNotVisible(String locator) |
protected void |
assertIsNotVisibleByXpath(String xpath) |
protected void |
assertIsNotVisibleByXpath(String xpath,
String message) |
protected void |
assertIsVisible(String locator) |
protected void |
assertIsVisibleById(String id) |
protected void |
assertIsVisibleByXpath(String xpath,
String message) |
protected void |
assertLabelFor(String forElementId,
String labelText) |
protected void |
assertPopUpWindowUrl(org.openqa.selenium.By by,
String windowName,
String url)
Assert that clicking an element causes a popup window with a specific URL
Uses Selenium's findElements method which does not throw a test exception if not found.
|
protected void |
assertTableLayout() |
protected void |
assertTextNotPresent(String text)
Asset that the given text does not occur in the page
Warning, this only does a check against the page source.
|
protected void |
assertTextNotPresent(String text,
String message)
Assert that the given text does not occur in the page, and add an additional message to the failure
|
protected void |
assertTextPresent(String text)
Warning, this only does a check against the page source.
|
protected void |
assertTextPresent(String text,
String message)
Warning, this only does a check against the page source.
|
protected void |
assertTextPresent(String text,
String cssSelector,
String message)
Warning, this only does a check against the page source.
|
protected void |
back() |
protected void |
blanketApproveCheck() |
protected void |
blanketApproveTest()
Tests blanket approve action.
|
protected void |
check(org.openqa.selenium.By by) |
protected void |
checkById(String id) |
protected void |
checkByName(String name) |
protected void |
checkByXpath(String locator) |
protected void |
checkErrorMessageItem(String message) |
void |
checkForDocError()
Uses Selenium's findElements method which does not throw a test exception if not found.
|
protected void |
checkForIncidentReport() |
protected void |
checkForIncidentReport(String locator) |
protected void |
checkForIncidentReport(String locator,
Failable failable,
String message) |
protected void |
checkForIncidentReport(String locator,
String message) |
static void |
chromeDriverService()
If WebDriverUtil.chromeDriverCreateCheck() returns a ChromeDriverService, start it.
|
protected void |
clearText(org.openqa.selenium.By by) |
protected void |
clearText(String selector) |
protected void |
clearTextByName(String name) |
protected void |
clearTextByXpath(String locator) |
protected void |
close() |
protected void |
colapseExpandByXpath(String clickLocator,
String visibleLocator) |
protected String |
configNameSpaceBlanketApprove() |
protected void |
confirmAddLineControlsPresent(String idPrefix,
String addLineIdSuffix)
verify that add line controls are present
|
protected void |
contextLookupAssertions() |
protected void |
expandColapseByXpath(String clickLocator,
String visibleLocator) |
protected String |
extractErrorText() |
void |
failableFail(String message)
Fail using the Failable fail method.
|
protected org.openqa.selenium.WebElement |
findButtonByText(String buttonText) |
protected org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by) |
protected org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by,
org.openqa.selenium.WebElement elementToFindOn) |
protected List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by) |
protected List<org.openqa.selenium.WebElement> |
findVisibleElements(org.openqa.selenium.By by) |
protected void |
fireEvent(String name,
String event) |
protected void |
fireEvent(String name,
String value,
String event) |
void |
fireMouseOverEvent(org.openqa.selenium.By by)
Actions.moveToElement(org.openqa.selenium.WebElement) |
void |
fireMouseOverEventById(String id)
Actions.moveToElement(org.openqa.selenium.WebElement) |
void |
fireMouseOverEventByName(String name)
Actions.moveToElement(org.openqa.selenium.WebElement) |
void |
fireMouseOverEventByXpath(String locator)
Actions.moveToElement(org.openqa.selenium.WebElement) |
String[] |
getAllWindowTitles()
WebDriver.getWindowHandles() |
protected String |
getBaseUrlString() |
protected int |
getCssCount(org.openqa.selenium.By by)
Uses Selenium's findElements method which does not throw a test exception if not found.
|
protected int |
getCssCount(String selector) |
protected String |
getDocStatus() |
protected org.openqa.selenium.WebElement |
getElementByAttribute(String attributeName) |
protected org.openqa.selenium.WebElement |
getElementByAttributeValue(String attributeName,
String value) |
protected org.openqa.selenium.WebElement |
getElementByDataAttribute(String dataAttributeName) |
protected org.openqa.selenium.WebElement |
getElementByDataAttributeValue(String dataAttributeName,
String value) |
protected String |
getForLabelText(String forElementId)
Returns the label text of a label-for element
|
protected String[] |
getSelectOptions(org.openqa.selenium.By by)
Uses Selenium's findElements for getting the options (findElement for the select) method which does not throw a test exception if not found.
|
protected String[] |
getSelectOptionsByName(String name) |
protected String[] |
getSelectOptionsByXpath(String locator) |
String |
getSessionId() |
abstract String |
getTestUrl()
Navigation tests should return ITUtil.PORTAL.
|
protected String |
getText(org.openqa.selenium.By by) |
protected String |
getText(String locator) |
protected String |
getTextByClassName(String className) |
protected String |
getTextById(String id) |
protected String |
getTextByName(String name) |
protected String |
getTextByXpath(String locator) |
protected String |
getTitle() |
String |
getUiFramework()
Determines whether KRAD or KNS UIF is used for this test.
|
String |
getUserName()
"admin" by default.
|
protected void |
gotoNestedFrame()
Handles simple nested frame content; validates that a frame and nested frame exists before
switching to it
Uses Selenium's findElements method which does not throw a test exception if not found.
|
boolean |
hasDocError()
Uses Selenium's findElements method which does not throw a test exception if not found.
|
boolean |
hasDocError(String errorTextToMatch)
Uses Selenium's findElements method which does not throw a test exception if not found.
|
protected int |
howManyAreVisible(org.openqa.selenium.By by) |
protected boolean |
isChecked(org.openqa.selenium.By by) |
protected boolean |
isCheckedById(String id) |
protected boolean |
isCheckedByName(String name) |
protected boolean |
isCheckedByXpath(String locator) |
protected boolean |
isElementPresent(org.openqa.selenium.By by)
Uses Selenium's findElements method which does not throw a test exception if not found.
|
protected boolean |
isElementPresent(String locator)
Uses Selenium's findElements method which does not throw a test exception if not found.
|
protected boolean |
isElementPresentByDataAttributeValue(String dataAttributeName,
String dataAttributeValue) |
protected boolean |
isElementPresentById(String id) |
protected boolean |
isElementPresentByLinkText(String locator) |
protected boolean |
isElementPresentByName(String name) |
protected boolean |
isElementPresentByXpath(String locator) |
protected boolean |
isEnabled(org.openqa.selenium.By by) |
protected boolean |
isEnabledById(String id) |
protected boolean |
isEnabledByName(String name) |
protected boolean |
isEnabledByXpath(String locator) |
protected boolean |
isKrad()
Does the test page use KRAD UIF?
Useful if trying to re-use a test for both a KNS and KRAD screens that have different paths to the elements.
|
protected boolean |
isNotVisible(org.openqa.selenium.By by) |
protected Boolean |
isTextPresent(String text) |
protected boolean |
isVisible(org.openqa.selenium.By by) |
protected boolean |
isVisible(org.openqa.selenium.By[] bys) |
protected boolean |
isVisible(String locator) |
protected boolean |
isVisibleById(String id) |
protected boolean |
isVisibleByXpath(String locator) |
protected void |
jGrowl(String message) |
protected void |
jGrowlSticky(String message)
Sticky is used on fail, making a call to jGrowl(String) from this method will result
in an infinite loop if JGROWL_ERROR_FAILURE is true so please don't.
|
protected void |
jiraAwareWaitAndClick(org.openqa.selenium.By by,
String message) |
protected void |
jiraAwareWaitAndClick(org.openqa.selenium.By by,
String message,
Failable failable) |
protected org.openqa.selenium.WebElement |
jiraAwareWaitFor(org.openqa.selenium.By by,
int seconds,
String message) |
protected org.openqa.selenium.WebElement |
jiraAwareWaitFor(org.openqa.selenium.By by,
String message) |
protected void |
jiraAwareWaitFor(org.openqa.selenium.By by,
String message,
Failable failable) |
protected void |
jiraAwareWaitFors(org.openqa.selenium.By by,
String message) |
protected void |
navigateInternal()
SeleniumBaseTest.fail from navigateInternal results in the test not being recorded as a failure in CI.
|
protected void |
open(String url) |
protected void |
passed()
Set the test state to passed, this method is required to be called at the conclusion of a test for the saucelabs state of a test to be updated.
|
protected void |
performParameterInquiry(String parameterField) |
protected void |
select(org.openqa.selenium.By by,
String selectText)
Uses Selenium's findElements method which does not throw a test exception if not found.
|
protected void |
selectByName(String name,
String selectText) |
protected void |
selectByXpath(String locator,
String selectText) |
protected void |
selectFrame(String locator) |
protected void |
selectFrameIframePortlet() |
protected void |
selectOption(org.openqa.selenium.By by,
String optionValue)
Uses Selenium's findElements method which does not throw a test exception if not found.
|
protected void |
selectOptionByName(String name,
String optionValue) |
protected void |
selectOptionByXpath(String locator,
String optionValue) |
protected void |
selectTopFrame() |
protected void |
selectWindow(String locator) |
void |
setUiFramework(String uiFramework)
Sets which UIF is used by this test
|
protected void |
startSession(Method method) |
void |
switchToWindow(String title)
If a window contains the given title switchTo it.
|
void |
tearDown()
Tear down test as configured.
|
protected void |
testAddingBrownGroup() |
protected void |
testAddingNamespace() |
protected void |
testAddingNamespace(Failable failable) |
protected void |
testAddLineAllDay(String idPrefix,
String addLineIdSuffix) |
protected void |
testAddLineWithAllDay(String idPrefix,
String addLineIdSuffix) |
protected void |
testAddLineWithSpecificTime(String idPrefix,
String addLineIdSuffix) |
protected void |
testAttributeDefinitionLookUp() |
protected void |
testCancelConfirmation() |
protected void |
testCategoryLookUp() |
protected void |
testConfigParamaterBlanketApprove() |
protected void |
testConfigurationTestView(String idPrefix) |
protected void |
testCopyComponent(String docId,
String componentName,
String componentCode) |
protected List<String> |
testCopyParameter(String docId,
String parameterName) |
protected List<String> |
testCopyParameterType(String docId,
String parameterType,
String parameterCode) |
protected void |
testCreateDocType() |
protected void |
testCreateNewAgenda() |
protected void |
testCreateNewCancel() |
protected String |
testCreateNewComponent(String componentName,
String componentCode) |
protected String |
testCreateNewComponent(String componentName,
String componentCode,
String message) |
protected List<String> |
testCreateNewParameter(String docId,
String parameterName) |
protected List<String> |
testCreateNewParameterType(String docId,
String parameterType,
String parameterCode) |
protected List<String> |
testCreateNewPermission(String docId,
String permissionName) |
protected List<String> |
testCreateNewPerson(String docId,
String personName) |
protected void |
testCreateNewRRDTravelRequestDestRouting() |
protected void |
testCreateNewSearchReturnValueCancelConfirmation() |
protected void |
testCreateSampleEDocLite() |
protected void |
testDisplayOnlyExternalHelp2()
Test the external help on the sub-section and display only fields
|
protected void |
testDisplayOnlyTooltipHelp()
Test the tooltip help on the sub-section and fields that are display only
|
protected void |
testDocTypeLookup() |
protected void |
testEditComponent(String docId,
String componentName,
String componentCode) |
protected List<String> |
testEditParameter(String docId,
String parameterName) |
protected List<String> |
testEditParameterType(String docId,
String parameterType,
String parameterCode) |
protected List<String> |
testEditPermission(String docId,
String permissionName) |
protected void |
testEditRouteRulesDelegation() |
protected void |
testExternalHelp2()
Test the external help on the section and fields
|
protected void |
testFiscalOfficerInfoMaintenanceNew() |
protected void |
testIdentityGroupBlanketApprove() |
protected void |
testIdentityPermissionBlanketApprove() |
protected void |
testIdentityPersonBlanketApprove() |
protected void |
testIdentityResponsibilityBlanketApprove() |
protected void |
testIdentityRoleBlanketApprove() |
protected void |
testLocationCampusBlanketApprove() |
protected void |
testLocationCountryBlanketApprove() |
protected void |
testLocationCountyBlanketApprove() |
protected void |
testLocationPostBlanketApprove() |
protected void |
testLocationStateBlanketApprove() |
protected void |
testLookUp() |
protected void |
testLookUpComponent(String docId,
String componentName,
String componentCode) |
protected List<String> |
testLookUpParameter(String docId,
String parameterName) |
protected List<String> |
testLookUpParameterType(String docId,
String parameterType,
String parameterCode) |
protected List<String> |
testLookUpPermission(String docId,
String permissionName) |
protected List<String> |
testLookUpPerson(String docId,
String personName) |
protected void |
testMissingExternalHelp2()
Test the external help on the section and fields with missing help URL
|
protected void |
testMissingTooltipHelp()
Test the tooltip help on the section and fields with no content
|
protected void |
testPageHelp()
Test the tooltip and external help on the page
|
protected void |
testPeopleFlow() |
protected void |
testReferenceCampusTypeBlanketApprove() |
protected void |
testSearchEditCancel() |
protected void |
testServerErrorsIT() |
protected void |
testServerInfoIT() |
protected void |
testServerWarningsIT() |
void |
testSetUp()
Failures in testSetup cause the test to not be recorded.
|
protected void |
testSubCollectionSize() |
protected void |
testTermLookUp() |
protected void |
testTermLookupAssertions() |
protected void |
testTermSpecificationLookupAssertions() |
protected void |
testTooltipHelp()
Test the tooltip help on the section and fields
|
protected void |
testUifTooltip(String NAME_FIELD_1,
String NAME_FIELD_2) |
protected void |
testValidCharsConstraintIT() |
protected void |
testVerifyAddDeleteFiscalOfficerLegacy() |
protected void |
testVerifyAddDeleteNoteLegacy() |
protected void |
testVerifyAdHocRecipientsLegacy() |
protected void |
testVerifyButtonsLegacy() |
protected void |
testVerifyConstraintText() |
protected void |
testVerifyCopyComponent(String docId,
String componentName,
String componentCode) |
protected List<String> |
testVerifyCopyParameterType(String docId,
String parameterType,
String parameterCode) |
protected void |
testVerifyDisclosures() |
protected void |
testVerifyDocumentOverviewLegacy() |
protected void |
testVerifyEditedComponent(String docId,
String componentName,
String componentCode) |
protected void |
testVerifyExpandCollapse() |
protected void |
testVerifyFieldsLegacy() |
protected void |
testVerifyHeaderFieldsLegacy() |
protected void |
testVerifyLookupAddMultipleLinesLegacy() |
protected List<String> |
testVerifyModifiedParameter(String docId,
String parameterName) |
protected void |
testVerifyNotesAndAttachments() |
protected List<String> |
testVerifyPermission(String docId,
String permissionName) |
protected List<String> |
testVerifyPerson(String docId,
String personName) |
protected void |
testVerifyQuickfinderIconsLegacy() |
protected void |
testVerifyRouteLog() |
protected void |
testVerifySave() |
protected void |
testVerifySubsidizedPercentWatermarkLegacy() |
protected void |
testViewHelp()
Test the tooltip and external help on the view
|
protected void |
testViewHelp2()
Test the tooltip and external help on the view
|
protected void |
testWorkFlowDocTypeBlanketApprove() |
protected void |
testWorkFlowRouteRulesBlanketApp() |
protected void |
testWorkFlowRouteRulesCreateNew() |
protected void |
testWorkFlowRouteRulesEditRouteRules()
tests that a Routing Rule maintenance document is created for an edit operation originating
from a lookup screen
|
protected void |
uncheck(org.openqa.selenium.By by) |
protected void |
uncheckByName(String name) |
protected void |
uncheckByXpath(String locator) |
protected boolean |
validateErrorImage(boolean validateVisible) |
protected void |
verifyRichMessagesValidationAdvancedFunctionality() |
protected void |
verifyRichMessagesValidationBasicFunctionality() |
protected void |
verifyRichMessagesValidationLettersNumbersValidation() |
protected void |
verifyRichMessagesValidationLinkDeclarationsFunctionality() |
protected void |
verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality() |
protected void |
waitAndCancelConfirmation() |
protected void |
waitAndClick(org.openqa.selenium.By by) |
protected void |
waitAndClick(org.openqa.selenium.By by,
Failable failable) |
protected void |
waitAndClick(String locator) |
protected void |
waitAndClick(String locator,
String message) |
protected void |
waitAndClickAdministration(Failable failable)
|
protected void |
waitAndClickButtonByText(String buttonText) |
protected void |
waitAndClickButtonByText(String buttonText,
String message) |
protected void |
waitAndClickById(String id) |
protected void |
waitAndClickById(String id,
String message) |
protected void |
waitAndClickByLinkText(String text) |
protected void |
waitAndClickByLinkText(String text,
Failable failable) |
protected void |
waitAndClickByLinkText(String text,
String message) |
protected void |
waitAndClickByLinkText(String text,
String message,
Failable failable) |
protected void |
waitAndClickByName(String name) |
protected void |
waitAndClickByName(String name,
String message) |
protected void |
waitAndClickByXpath(String xpath) |
protected void |
waitAndClickByXpath(String xpath,
Failable failable) |
protected void |
waitAndClickByXpath(String xpath,
String message) |
protected void |
waitAndClickCancel()
|
protected void |
waitAndClickCloseWindow()
|
protected void |
waitAndClickCopy()
|
protected void |
waitAndClickCreateNew()
|
protected void |
waitAndClickDocSearch()
{}@link #DOC_SEARCH_XPATH}
|
protected void |
waitAndClickDocSearchTitle()
|
protected void |
waitAndClickEdit() |
protected void |
waitAndClickKRAD()
|
protected void |
waitAndClickLogout()
|
protected void |
waitAndClickLogout(Failable failable)
|
protected void |
waitAndClickMainMenu(Failable failable)
{}@link #MAIN_MENU_LINK_TEXT}
|
protected void |
waitAndClickReturnValue() |
protected void |
waitAndClickSave()
|
protected void |
waitAndClickSearch()
|
protected void |
waitAndClickSearch2() |
protected void |
waitAndClickSearch3() |
protected void |
waitAndClickSubmit()
|
protected void |
waitAndClickXMLIngester(Failable failable)
|
protected void |
waitAndCreateNew() |
protected String |
waitAndGetAttribute(org.openqa.selenium.By by,
String attribute) |
protected String |
waitAndGetAttributeByName(String name,
String attribute)
Get value of any attribute by using element name
|
protected String |
waitAndGetAttributeByXpath(String locator,
String attribute)
Get value of any attribute by using element xpath
|
protected String[] |
waitAndGetText(org.openqa.selenium.By by) |
protected void |
waitAndSelectByName(String name,
String selectText) |
protected void |
waitAndType(org.openqa.selenium.By by,
String text) |
protected void |
waitAndType(org.openqa.selenium.By by,
String text,
String message) |
protected void |
waitAndType(String selector,
String text) |
protected void |
waitAndTypeById(String id,
String text) |
protected void |
waitAndTypeByName(String name,
String text) |
protected void |
waitAndTypeByXpath(String locator,
String text) |
protected void |
waitAndTypeByXpath(String locator,
String text,
String message) |
protected boolean |
waitAreAnyVisible(org.openqa.selenium.By[] bys) |
protected org.openqa.selenium.WebElement |
waitFor(org.openqa.selenium.By by) |
protected void |
waitFor(org.openqa.selenium.By by,
String message)
Should be called from jiraAwareWaitFor to get KULRICE error output in CI.
|
protected String |
waitForDocId() |
protected org.openqa.selenium.WebElement |
waitForElementPresent(org.openqa.selenium.By by) |
protected org.openqa.selenium.WebElement |
waitForElementPresent(org.openqa.selenium.By by,
String message) |
protected org.openqa.selenium.WebElement |
waitForElementPresent(String locator) |
protected org.openqa.selenium.WebElement |
waitForElementPresentByClassName(String name) |
protected org.openqa.selenium.WebElement |
waitForElementPresentByClassName(String name,
String message) |
protected org.openqa.selenium.WebElement |
waitForElementPresentById(String id) |
protected void |
waitForElementPresentById(String id,
String message) |
protected org.openqa.selenium.WebElement |
waitForElementPresentByName(String name) |
protected org.openqa.selenium.WebElement |
waitForElementPresentByXpath(String xpath) |
protected org.openqa.selenium.WebElement |
waitForElementPresentByXpath(String xpath,
String message) |
protected void |
waitForElementsPresentByClassName(String name,
String message) |
protected void |
waitForElementsPresentById(String id,
String message) |
protected void |
waitForElementsPresentByXpath(String xpathLocator) |
protected void |
waitForElementVisible(String elementLocator,
String message)
Uses Selenium's findElements method which does not throw a test exception if not found.
|
protected void |
waitForElementVisibleBy(org.openqa.selenium.By by,
String message) |
protected void |
waitForElementVisibleById(String id,
String message) |
protected void |
waitForPageToLoad() |
protected void |
waitForTitleToEqualKualiPortalIndex() |
protected void |
waitForTitleToEqualKualiPortalIndex(String message) |
protected void |
waitIsVisible(org.openqa.selenium.By by) |
protected void |
waitIsVisible(org.openqa.selenium.By by,
String message) |
protected void |
waitIsVisible(String locator) |
protected void |
waitIsVisibleByXpath(String locator) |
protected void |
waitIsVisibleByXpath(String locator,
String message) |
protected void |
waitNotVisible(org.openqa.selenium.By by) |
protected void |
waitNotVisibleByXpath(String locator) |
public static final String ADMINISTRATION_LINK_TEXT
public static final String AGENDA_LOOKUP_LINK_TEXT
public static final String ARIA_INVALID_XPATH
public static final String BLANKET_APPROVE_NAME
public static final String CANCEL_NAME
public static final String CANCEL2_XPATH
public static final String CLOSE_WINDOW_XPATH_TITLE
public static final String COLLECTIONS_LINK_TEXT
public static final String CONFIGURATION_VIEW_WINDOW_TITLE
public static final String CONFIGURATION_VIEW_XPATH
public static final String COPY_LINK_TEXT
public static final String CREATE_NEW_DOCUMENT_NOT_SUBMITTED_SUCCESSFULLY_MESSAGE_TEXT
public static final String CREATE_NEW_XPATH
public static final int DEFAULT_WAIT_SEC
public static final String DIV_LEFT_ERRMSG
public static final String DOC_CODE_XPATH
public static final String DOC_ID_XPATH
public static final String DOC_ID_XPATH_2
public static final String DOC_ID_XPATH_3
public static final String DOC_DESCRIPTION_XPATH
public static final String DOC_SEARCH_XPATH
public static final String DOC_SEARCH_XPATH_TITLE
public static final String DOC_STATUS_ENROUTE
public static final String DOC_STATUS_FINAL
public static final String DOC_STATUS_SAVED
public static final String DOC_STATUS_XPATH
public static final String DOC_STATUS_XPATH_2
public static final String DOC_SUBMIT_SUCCESS_MSG_XPATH
public static final String DONT_TEAR_DOWN_ON_FAILURE_PROPERTY
public static final String EDIT_LINK_TEXT
public static final String IFRAMEPORTLET_NAME
public static final String KITCHEN_SINK_XPATH
public static final String KRAD_XPATH
public static final String KUALI_UIF_COMPONENTS_WINDOW_XPATH
public static final String KUALI_VIEW_WINDOW_TITLE
public static final String LOGOUT_XPATH
public static final String MAIN_MENU_LINK_TEXT
public static final String REGEX_ERROR
public static final String REGEX_VALID
public static final String REMOTE_PUBLIC_USER_PROPERTY
public static final String REMOTE_PUBLIC_USERPOOL_PROPERTY
public static final String REMOTE_PUBLIC_WAIT_SECONDS_PROPERTY
public static final String RETURN_VALUE_LINK_TEXT
public static final String RICH_MESSAGES_WINDOW_TITLE
public static final String SAVE_SUCCESSFUL_XPATH
public static final String SAVE_XPATH
public static final String SAVE_XPATH_2
public static final String SAVE_XPATH_3
public static final String SEARCH_XPATH
public static final String SUBMIT_XPATH
public static final String SEARCH_XPATH_2
public static final String SEARCH_XPATH_3
public static final String SUB_COLLECTION_UIF_DISCLOSURE_SPAN_UIF_HEADER_TEXT_SPAN_XPATH
public static final String TIMEOUT_MESSAGE
public static final String TRAVEL_ACCOUNT_LOOKUP_LINK_TEXT
public static final String UIF_COMPONENTS_KITCHEN_SINK_LINK_TEXT
public static final String VALIDATION_FRAMEWORK_DEMO_XPATH
public static final String KUALI_COLLECTION_TOTALLING_WINDOW_XPATH
public static final String KUALI_COLLECTION_TOTALLING_XPATH
public static final String XML_INGESTER_LINK_TEXT
public static final String FISCAL_OFFICER_INFO_MAINTENANCE_NEW_XPATH
protected org.openqa.selenium.WebDriver driver
protected int waitSeconds
protected boolean passed
protected String uiFramework
public org.junit.rules.TestName testName
protected String testMethodName
protected String jGrowlHeader
public WebDriverLegacyITBase()
public static void chromeDriverService() throws Exception
WebDriverUtil.chromeDriverCreateCheck()
Exception
public abstract String getTestUrl()
protected void navigateInternal() throws Exception
Exception
protected void startSession(Method method) throws Exception
Exception
public void testSetUp()
WebDriverUtil.determineUser(String)
WebDriverUtil.setUp(String, String, String, String)
public void tearDown()
WebDriverUtil.tearDown(boolean, String, String, String)
REMOTE_PUBLIC_USERPOOL_PROPERTY
ITUtil.dontTearDownPropertyNotSet()
Exception
protected void passed()
protected void agendaLookupAssertions() throws Exception
Exception
protected void alertAccept()
protected void alertDismiss()
protected void assertAttributeClassRegexDoesntMatch(String field, String regex) throws InterruptedException
InterruptedException
protected void assertAttributeClassRegexMatches(String field, String regex) throws InterruptedException
InterruptedException
protected void assertBlanketApproveButtonsPresent()
protected void assertButtonDisabledByText(String buttonText)
protected void assertButtonEnabledByText(String buttonText)
protected void assertCancelConfirmation() throws InterruptedException
InterruptedException
protected void assertDocFinal(String docId) throws InterruptedException
InterruptedException
protected void assertElementPresentByName(String name)
protected void assertElementPresentByName(String name, String message)
protected void assertElementPresentByXpath(String locator)
protected void assertElementPresentByXpath(String locator, String message)
protected void assertElementPresentByLinkText(String linkText)
protected void assertElementPresent(String locator)
protected void assertFocusTypeBlurError(String field, String textToType) throws InterruptedException
InterruptedException
protected void assertFocusTypeBlurError(String field, String[] errorInputs) throws InterruptedException
InterruptedException
protected void assertFocusTypeBlurValid(String field, String textToType) throws InterruptedException
InterruptedException
protected void assertFocusTypeBlurValid(String field, String[] validInputs) throws InterruptedException
InterruptedException
protected void assertIsVisibleByXpath(String xpath, String message)
protected void assertIsNotVisibleByXpath(String xpath, String message)
protected void assertIsVisible(String locator)
protected void assertIsVisibleById(String id)
protected void assertIsNotVisible(String locator)
protected void assertIsNotVisibleByXpath(String xpath)
protected void assertLabelFor(String forElementId, String labelText)
protected void assertPopUpWindowUrl(org.openqa.selenium.By by, String windowName, String url)
by
- The locating mechanism of the element to be clickedwindowName
- The name of the popup windowurl
- The URL of the popup windowprotected void assertTableLayout()
protected void assertTextPresent(String text)
text
- protected void assertTextPresent(String text, String message)
text
- protected void assertTextPresent(String text, String cssSelector, String message)
text
- protected void assertTextNotPresent(String text)
text
- the text to search forprotected void assertTextNotPresent(String text, String message)
text
- the text to search formessage
- the message to add to the failureprotected void back()
protected void blanketApproveCheck() throws InterruptedException
InterruptedException
protected void blanketApproveTest() throws InterruptedException
InterruptedException
protected void check(org.openqa.selenium.By by) throws InterruptedException
InterruptedException
protected void checkById(String id) throws InterruptedException
InterruptedException
protected void checkByName(String name) throws InterruptedException
InterruptedException
protected void checkByXpath(String locator) throws InterruptedException
InterruptedException
protected void checkErrorMessageItem(String message)
public void checkForDocError()
protected String extractErrorText()
public boolean hasDocError()
public boolean hasDocError(String errorTextToMatch)
errorTextToMatch
- protected void checkForIncidentReport()
protected void checkForIncidentReport(String locator)
protected void checkForIncidentReport(String locator, String message)
protected void checkForIncidentReport(String locator, Failable failable, String message)
protected void clearText(org.openqa.selenium.By by) throws InterruptedException
InterruptedException
protected void clearText(String selector) throws InterruptedException
InterruptedException
protected void clearTextByName(String name) throws InterruptedException
InterruptedException
protected void clearTextByXpath(String locator) throws InterruptedException
InterruptedException
protected void close()
protected void colapseExpandByXpath(String clickLocator, String visibleLocator) throws InterruptedException
InterruptedException
protected String configNameSpaceBlanketApprove() throws Exception
Exception
protected void contextLookupAssertions() throws Exception
Exception
protected void expandColapseByXpath(String clickLocator, String visibleLocator) throws InterruptedException
InterruptedException
public String[] getAllWindowTitles()
WebDriver.getWindowHandles()
protected String waitAndGetAttribute(org.openqa.selenium.By by, String attribute) throws InterruptedException
InterruptedException
protected String waitAndGetAttributeByName(String name, String attribute) throws InterruptedException
name
- name of an elementattribute
- the name of an attribute whose value is to be retrievedInterruptedException
protected String waitAndGetAttributeByXpath(String locator, String attribute) throws InterruptedException
locator
- locating mechanism of an elementattribute
- the name of an attribute whose value is to be retrievedInterruptedException
protected String[] waitAndGetText(org.openqa.selenium.By by) throws InterruptedException
InterruptedException
protected String getBaseUrlString()
protected int getCssCount(String selector)
protected int getCssCount(org.openqa.selenium.By by)
by
- protected String getDocStatus()
protected String[] getSelectOptions(org.openqa.selenium.By by) throws InterruptedException
by
- InterruptedException
protected String[] getSelectOptionsByName(String name) throws InterruptedException
InterruptedException
protected String[] getSelectOptionsByXpath(String locator) throws InterruptedException
InterruptedException
public String getSessionId()
protected String getText(org.openqa.selenium.By by) throws InterruptedException
InterruptedException
protected String getTextByClassName(String className) throws InterruptedException
InterruptedException
protected String getTextById(String id) throws InterruptedException
InterruptedException
protected String getTextByName(String name) throws InterruptedException
InterruptedException
protected String getText(String locator) throws InterruptedException
InterruptedException
protected String getTextByXpath(String locator) throws InterruptedException
InterruptedException
public String getUserName()
REMOTE_PUBLIC_USER_PROPERTY
protected void gotoNestedFrame()
public void failableFail(String message)
message
- to display with failureprotected org.openqa.selenium.WebElement findButtonByText(String buttonText)
protected org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
protected org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by, org.openqa.selenium.WebElement elementToFindOn)
protected List<org.openqa.selenium.WebElement> findVisibleElements(org.openqa.selenium.By by)
protected List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
public void fireMouseOverEventByName(String name)
Actions.moveToElement(org.openqa.selenium.WebElement)
name
- public void fireMouseOverEventById(String id)
Actions.moveToElement(org.openqa.selenium.WebElement)
id
- public void fireMouseOverEventByXpath(String locator)
Actions.moveToElement(org.openqa.selenium.WebElement)
locator
- public void fireMouseOverEvent(org.openqa.selenium.By by)
Actions.moveToElement(org.openqa.selenium.WebElement)
by
- protected boolean isChecked(org.openqa.selenium.By by)
protected boolean isCheckedById(String id)
protected boolean isCheckedByName(String name)
protected boolean isCheckedByXpath(String locator)
protected boolean isEnabled(org.openqa.selenium.By by)
protected boolean isEnabledById(String id)
protected boolean isEnabledByName(String name)
protected boolean isEnabledByXpath(String locator)
protected int howManyAreVisible(org.openqa.selenium.By by) throws InterruptedException
InterruptedException
protected boolean isElementPresent(org.openqa.selenium.By by)
by
- protected boolean isElementPresent(String locator)
locator
- protected boolean isElementPresentById(String id)
protected boolean isElementPresentByName(String name)
protected boolean isElementPresentByXpath(String locator)
protected boolean isElementPresentByLinkText(String locator)
protected boolean isElementPresentByDataAttributeValue(String dataAttributeName, String dataAttributeValue)
protected boolean isNotVisible(org.openqa.selenium.By by)
protected Boolean isTextPresent(String text)
protected boolean isVisible(org.openqa.selenium.By by)
protected boolean isVisibleById(String id)
protected boolean isVisibleByXpath(String locator)
protected void jGrowlSticky(String message)
protected void jiraAwareWaitAndClick(org.openqa.selenium.By by, String message) throws InterruptedException
InterruptedException
protected void jiraAwareWaitAndClick(org.openqa.selenium.By by, String message, Failable failable) throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement jiraAwareWaitFor(org.openqa.selenium.By by, String message) throws InterruptedException
InterruptedException
protected void jiraAwareWaitFors(org.openqa.selenium.By by, String message) throws InterruptedException
InterruptedException
protected void jiraAwareWaitFor(org.openqa.selenium.By by, String message, Failable failable) throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement jiraAwareWaitFor(org.openqa.selenium.By by, int seconds, String message) throws InterruptedException
InterruptedException
protected void selectFrameIframePortlet()
protected void selectFrame(String locator)
protected void selectTopFrame()
protected void selectWindow(String locator)
protected void selectByXpath(String locator, String selectText) throws InterruptedException
InterruptedException
protected void selectByName(String name, String selectText) throws InterruptedException
InterruptedException
protected void select(org.openqa.selenium.By by, String selectText) throws InterruptedException
by
- selectText
- InterruptedException
protected void selectOptionByName(String name, String optionValue) throws InterruptedException
InterruptedException
protected void selectOptionByXpath(String locator, String optionValue) throws InterruptedException
InterruptedException
protected void selectOption(org.openqa.selenium.By by, String optionValue) throws InterruptedException
by
- optionValue
- InterruptedException
public void switchToWindow(String title)
title
- protected void testAddingNamespace() throws Exception
Exception
protected void testAddingNamespace(Failable failable) throws Exception
Exception
protected void assertDocumentStatusSaved()
protected void testAddingBrownGroup() throws Exception
Exception
protected void testAttributeDefinitionLookUp() throws Exception
Exception
protected void testCancelConfirmation() throws InterruptedException
InterruptedException
protected void testConfigParamaterBlanketApprove() throws Exception
Exception
protected void testCreateNewAgenda() throws Exception
Exception
protected void testCreateDocType() throws Exception
Exception
protected void testCreateNewCancel() throws Exception
Exception
protected List<String> testCreateNewParameter(String docId, String parameterName) throws Exception
Exception
protected List<String> testCreateNewParameterType(String docId, String parameterType, String parameterCode) throws Exception
Exception
protected void testCreateNewSearchReturnValueCancelConfirmation() throws InterruptedException, Exception
InterruptedException
Exception
protected List<String> testCopyParameter(String docId, String parameterName) throws Exception
Exception
protected List<String> testCopyParameterType(String docId, String parameterType, String parameterCode) throws Exception
Exception
protected void testDocTypeLookup() throws Exception
Exception
protected List<String> testEditParameterType(String docId, String parameterType, String parameterCode) throws Exception
Exception
protected List<String> testEditParameter(String docId, String parameterName) throws Exception
Exception
protected void testEditRouteRulesDelegation() throws Exception
Exception
protected void testFiscalOfficerInfoMaintenanceNew() throws Exception
Exception
protected void testIdentityGroupBlanketApprove() throws Exception
Exception
protected void testIdentityPermissionBlanketApprove() throws Exception
Exception
protected void testIdentityPersonBlanketApprove() throws Exception
Exception
protected void testIdentityResponsibilityBlanketApprove() throws Exception
Exception
protected void testIdentityRoleBlanketApprove() throws Exception
Exception
protected void testLocationCampusBlanketApprove() throws Exception
Exception
protected void testLocationCountryBlanketApprove() throws InterruptedException
InterruptedException
protected void testLocationCountyBlanketApprove() throws Exception
Exception
protected void testLocationPostBlanketApprove() throws Exception
Exception
protected void testLocationStateBlanketApprove() throws Exception
Exception
protected void testLookUp() throws Exception
Exception
protected void performParameterInquiry(String parameterField) throws Exception
Exception
protected List<String> testLookUpParameterType(String docId, String parameterType, String parameterCode) throws Exception
Exception
protected List<String> testLookUpParameter(String docId, String parameterName) throws Exception
Exception
protected void testPeopleFlow() throws Exception
Exception
protected void testTermLookupAssertions() throws Exception
Exception
protected void testTermSpecificationLookupAssertions() throws Exception
Exception
protected List<String> testVerifyModifiedParameter(String docId, String parameterName) throws Exception
Exception
protected List<String> testVerifyCopyParameterType(String docId, String parameterType, String parameterCode) throws Exception
Exception
protected List<String> testCreateNewPermission(String docId, String permissionName) throws Exception
Exception
protected List<String> testLookUpPermission(String docId, String permissionName) throws Exception
Exception
protected List<String> testEditPermission(String docId, String permissionName) throws Exception
Exception
protected List<String> testVerifyPermission(String docId, String permissionName) throws Exception
Exception
protected List<String> testCreateNewPerson(String docId, String personName) throws Exception
Exception
protected List<String> testLookUpPerson(String docId, String personName) throws Exception
Exception
protected List<String> testVerifyPerson(String docId, String personName) throws Exception
Exception
protected void testUifTooltip(String NAME_FIELD_1, String NAME_FIELD_2) throws Exception
Exception
protected void testValidCharsConstraintIT() throws Exception
Exception
protected void assertFocusTypeBlurValidation(String field, String[] errorInputs, String[] validInputs) throws InterruptedException
InterruptedException
protected void testSubCollectionSize() throws Exception
Exception
protected void testConfigurationTestView(String idPrefix) throws Exception
Exception
protected void confirmAddLineControlsPresent(String idPrefix, String addLineIdSuffix)
protected void testAddLineWithSpecificTime(String idPrefix, String addLineIdSuffix) throws Exception
Exception
protected void testAddLineWithAllDay(String idPrefix, String addLineIdSuffix) throws Exception
Exception
protected void testAddLineAllDay(String idPrefix, String addLineIdSuffix) throws Exception
Exception
protected void testCategoryLookUp() throws Exception
Exception
protected void testCreateSampleEDocLite() throws Exception
Exception
protected void testTermLookUp() throws Exception
Exception
protected void testWorkFlowRouteRulesBlanketApp() throws Exception
Exception
protected void testCreateNewRRDTravelRequestDestRouting() throws Exception
Exception
protected void testWorkFlowRouteRulesCreateNew() throws Exception
Exception
protected void testWorkFlowRouteRulesEditRouteRules() throws Exception
Exception
protected String testCreateNewComponent(String componentName, String componentCode) throws Exception
Exception
protected String testCreateNewComponent(String componentName, String componentCode, String message) throws Exception
Exception
protected void testLookUpComponent(String docId, String componentName, String componentCode) throws Exception
Exception
protected void testEditComponent(String docId, String componentName, String componentCode) throws Exception
Exception
protected void testCopyComponent(String docId, String componentName, String componentCode) throws Exception
Exception
protected void testVerifyCopyComponent(String docId, String componentName, String componentCode) throws Exception
Exception
protected void testPageHelp() throws Exception
Exception
protected void testTooltipHelp() throws Exception
Exception
protected void testDisplayOnlyTooltipHelp() throws Exception
Exception
protected void testMissingTooltipHelp() throws Exception
Exception
protected void testExternalHelp2() throws Exception
Exception
protected void testDisplayOnlyExternalHelp2() throws Exception
Exception
protected void testMissingExternalHelp2() throws Exception
Exception
protected void testReferenceCampusTypeBlanketApprove() throws Exception
Exception
protected void testSearchEditCancel() throws InterruptedException
InterruptedException
protected void testServerErrorsIT() throws Exception
Exception
protected void testServerInfoIT() throws Exception
Exception
protected void testServerWarningsIT() throws Exception
Exception
protected void testViewHelp() throws Exception
Exception
protected void testViewHelp2() throws Exception
Exception
protected void testVerifyAddDeleteFiscalOfficerLegacy() throws Exception
Exception
protected void testVerifyAddDeleteNoteLegacy() throws Exception
Exception
protected void testVerifyAdHocRecipientsLegacy() throws Exception
Exception
protected void testVerifyButtonsLegacy() throws Exception
Exception
protected void testVerifyConstraintText() throws Exception
Exception
protected void testVerifyEditedComponent(String docId, String componentName, String componentCode) throws Exception
Exception
protected void testVerifyDisclosures() throws Exception
Exception
protected void testVerifyDocumentOverviewLegacy() throws Exception
Exception
protected void testVerifyExpandCollapse() throws Exception
Exception
protected void testVerifyFieldsLegacy() throws Exception
Exception
protected void testVerifyHeaderFieldsLegacy() throws Exception
Exception
protected void testVerifyLookupAddMultipleLinesLegacy() throws Exception
Exception
protected void testVerifyNotesAndAttachments() throws Exception
Exception
protected void testVerifyQuickfinderIconsLegacy() throws Exception
Exception
protected void testVerifyRouteLog() throws Exception
Exception
protected void testVerifySave() throws Exception
Exception
protected void testVerifySubsidizedPercentWatermarkLegacy() throws Exception
Exception
protected void testWorkFlowDocTypeBlanketApprove() throws Exception
Exception
protected void uncheck(org.openqa.selenium.By by) throws InterruptedException
InterruptedException
protected void uncheckByName(String name) throws InterruptedException
InterruptedException
protected void uncheckByXpath(String locator) throws InterruptedException
InterruptedException
protected boolean validateErrorImage(boolean validateVisible) throws Exception
Exception
protected void verifyRichMessagesValidationBasicFunctionality() throws Exception
Exception
protected void verifyRichMessagesValidationAdvancedFunctionality() throws Exception
Exception
protected void verifyRichMessagesValidationLettersNumbersValidation() throws Exception
Exception
protected void verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality() throws Exception
Exception
protected void verifyRichMessagesValidationLinkDeclarationsFunctionality() throws Exception
Exception
protected void waitAndClickAdministration(Failable failable) throws InterruptedException
failable
- InterruptedException
protected void waitAndCancelConfirmation() throws InterruptedException
InterruptedException
protected void waitAndClick(org.openqa.selenium.By by) throws InterruptedException
InterruptedException
protected void waitAndClick(org.openqa.selenium.By by, Failable failable) throws InterruptedException
InterruptedException
protected void waitAndClick(String locator, String message) throws InterruptedException
InterruptedException
protected void waitAndClickById(String id) throws InterruptedException
InterruptedException
protected void waitAndClickById(String id, String message) throws InterruptedException
InterruptedException
protected void waitAndClickByLinkText(String text) throws InterruptedException
InterruptedException
protected void waitAndClickByLinkText(String text, String message) throws InterruptedException
InterruptedException
protected void waitAndClickByLinkText(String text, Failable failable) throws InterruptedException
InterruptedException
protected void waitAndClickByLinkText(String text, String message, Failable failable) throws InterruptedException
InterruptedException
protected void waitAndClickByName(String name) throws InterruptedException
InterruptedException
protected void waitAndClickByXpath(String xpath) throws InterruptedException
InterruptedException
protected void waitAndClickByXpath(String xpath, Failable failable) throws InterruptedException
InterruptedException
protected void waitAndClickByName(String name, String message) throws InterruptedException
InterruptedException
protected void waitAndClickByXpath(String xpath, String message) throws InterruptedException
InterruptedException
protected void waitAndClickButtonByText(String buttonText) throws InterruptedException
InterruptedException
protected void waitAndClickButtonByText(String buttonText, String message) throws InterruptedException
InterruptedException
protected void waitAndClickCancel() throws InterruptedException
InterruptedException
protected void waitAndClickCloseWindow() throws InterruptedException
InterruptedException
protected void waitAndClickCopy() throws InterruptedException
InterruptedException
protected void waitAndClickDocSearch() throws InterruptedException
InterruptedException
protected void waitAndClickDocSearchTitle() throws InterruptedException
InterruptedException
protected void waitAndClickLogout() throws InterruptedException
InterruptedException
protected void waitAndClickLogout(Failable failable) throws InterruptedException
failable
- InterruptedException
protected void waitAndClickMainMenu(Failable failable) throws InterruptedException
failable
- InterruptedException
protected void waitAndClickSave() throws InterruptedException
InterruptedException
protected void waitAndClickSearch() throws InterruptedException
InterruptedException
protected void waitAndClickSubmit() throws InterruptedException
InterruptedException
protected void waitAndClickXMLIngester(Failable failable) throws InterruptedException
failable
- InterruptedException
protected void waitAndSelectByName(String name, String selectText) throws InterruptedException
InterruptedException
protected void waitAndType(org.openqa.selenium.By by, String text) throws InterruptedException
InterruptedException
protected void waitAndType(org.openqa.selenium.By by, String text, String message) throws InterruptedException
InterruptedException
protected void waitAndType(String selector, String text) throws InterruptedException
InterruptedException
protected void waitAndTypeById(String id, String text) throws InterruptedException
InterruptedException
protected void waitAndTypeByXpath(String locator, String text) throws InterruptedException
InterruptedException
protected void waitAndTypeByXpath(String locator, String text, String message) throws InterruptedException
InterruptedException
protected void waitAndTypeByName(String name, String text) throws InterruptedException
InterruptedException
protected void waitAndCreateNew() throws InterruptedException
InterruptedException
protected void waitAndClickCreateNew() throws InterruptedException
InterruptedException
protected void waitAndClickEdit() throws InterruptedException
InterruptedException
protected void waitAndClickReturnValue() throws InterruptedException
InterruptedException
protected void waitAndClickSearch2() throws InterruptedException
InterruptedException
protected void waitAndClickSearch3() throws InterruptedException
InterruptedException
protected String waitForDocId() throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement waitForElementPresent(org.openqa.selenium.By by) throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement waitForElementPresent(org.openqa.selenium.By by, String message) throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement waitForElementPresent(String locator) throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement waitForElementPresentByClassName(String name) throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement waitForElementPresentByClassName(String name, String message) throws InterruptedException
InterruptedException
protected void waitForElementsPresentByClassName(String name, String message) throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement waitForElementPresentById(String id) throws InterruptedException
InterruptedException
protected void waitForElementPresentById(String id, String message) throws InterruptedException
InterruptedException
protected void waitForElementsPresentById(String id, String message) throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement waitForElementPresentByName(String name) throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement waitForElementPresentByXpath(String xpath) throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement waitForElementPresentByXpath(String xpath, String message) throws InterruptedException
InterruptedException
protected void waitForElementsPresentByXpath(String xpathLocator) throws InterruptedException
InterruptedException
protected void waitForTitleToEqualKualiPortalIndex() throws InterruptedException
InterruptedException
protected void waitIsVisible(org.openqa.selenium.By by) throws InterruptedException
InterruptedException
protected void waitIsVisible(org.openqa.selenium.By by, String message) throws InterruptedException
InterruptedException
protected boolean waitAreAnyVisible(org.openqa.selenium.By[] bys) throws InterruptedException
InterruptedException
protected boolean isVisible(org.openqa.selenium.By[] bys)
protected void waitForElementVisible(String elementLocator, String message) throws InterruptedException
elementLocator
- message
- InterruptedException
protected void waitForElementVisibleBy(org.openqa.selenium.By by, String message) throws InterruptedException
InterruptedException
protected void waitForElementVisibleById(String id, String message) throws InterruptedException
InterruptedException
protected void waitIsVisible(String locator) throws InterruptedException
InterruptedException
protected void waitIsVisibleByXpath(String locator) throws InterruptedException
InterruptedException
protected void waitIsVisibleByXpath(String locator, String message) throws InterruptedException
InterruptedException
protected void waitForTitleToEqualKualiPortalIndex(String message) throws InterruptedException
InterruptedException
protected void waitAndClick(String locator) throws InterruptedException
InterruptedException
protected void waitForPageToLoad() throws InterruptedException
InterruptedException
protected org.openqa.selenium.WebElement waitFor(org.openqa.selenium.By by) throws InterruptedException
InterruptedException
protected void waitFor(org.openqa.selenium.By by, String message) throws InterruptedException
by
- message
- InterruptedException
protected void waitAndClickKRAD() throws InterruptedException
InterruptedException
protected void waitNotVisible(org.openqa.selenium.By by) throws InterruptedException
InterruptedException
protected void waitNotVisibleByXpath(String locator) throws InterruptedException
InterruptedException
protected boolean isKrad()
protected org.openqa.selenium.WebElement getElementByDataAttributeValue(String dataAttributeName, String value)
protected org.openqa.selenium.WebElement getElementByDataAttribute(String dataAttributeName)
protected org.openqa.selenium.WebElement getElementByAttributeValue(String attributeName, String value)
protected org.openqa.selenium.WebElement getElementByAttribute(String attributeName)
protected String getForLabelText(String forElementId)
For usage with elements like this:
forElementId
- the id of the element for which to find the label textpublic String getUiFramework()
public void setUiFramework(String uiFramework)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.