edu.samplu.common
Class WebDriverLegacyITBase

java.lang.Object
  extended by edu.samplu.common.WebDriverLegacyITBase
All Implemented Interfaces:
Failable
Direct Known Subclasses:
AgendaEditRuleRefreshNavIT, AgendaEditRuleRefreshWDIT, BreadcrumbSmokeTestBase, ClientErrorsAbstractSmokeTestBase, CollectionsAbstractSmokeTestBase, CollectionTotallingAbstractSmokeTestBase, ComponentAbstractSmokeTestBase, ConfigParameterBlanketAppWDIT, ConfigParameterTypeWDIT, ConfigParameterWDIT, ConfigurationTestViewAbstractSmokeTestBase, ConstraintsAbstractSmokeTestBase, DeleteSubCollectionLineAbstractSmokeTestBase, DemoLibraryNavigationSmokeTestBase, DemoTravelAccountInquirySmokeTestBase, DirtyFieldsAbstractSmokeTestBase, DocSearchToAnotherViewWDIT, DocSearchWDIT, FiscalOfficerInfoMaintenanceAbstractSmokeTestBase, FiscalOfficerInfoMaintenanceNewNavIT, FiscalOfficerInfoMaintenanceNewWDIT, FreemarkerSTBase, Help2AbstractSmokeTestBase, HelpAbstractSmokeTestBase, IdentityGroupBlanketAppWDIT, IdentityPermissionBlanketAppWDIT, IdentityPersonBlanketAppWDIT, IdentityPersonRoleWDIT, IdentityResponsibilityBlanketAppWDIT, IdentityRoleBlanketAppWDIT, InquiryAbstractSmokeTestBase, InvalidUserNameWDIT, LabsSessionPolicyRedirectHomeSTNGGen, LocationCampusBlanketAppWDIT, LocationPostCodeBlanketAppWDIT, LoginLogoutAbstractSmokeTestBase, MaintenanceAddDeleteFiscalOfficerWDIT, MultipleLoginLogoutNavIT, NavTemplateMethodSTBase, ParentLineAbstractSmokeTestBase, ParentLineNavIT, ParentLineWDIT, ReferenceCampusTypeBlanketAppWDIT, RichMessagesAbstractSmokeTestBase, RichMessagesValidationNavIT, RichMessagesValidationWDIT, ServerErrorsAbstractSmokeTestBase, ServerInfoAbstractSmokeTestBase, ServerWarningsAbstractSmokeTestBase, TravelAccountLookupAbstractSmokeTestBase, TravelAccountTypeLookupAbstractSmokeTestBase, UIFComponentValidationRegexPatternAbstractSmokeTestBase, UifDataAttributesNavIT, UifTooltipAbstractSmokeTestBase, ValidCharsConstraintAbstractSmokeTestBase, WorkFlowDocTypeWDIT, WorkFlowRouteRulesWDIT

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:

  1. KULRICE-9206 Replace literal strings used more than 3 times with Constants, Javadoc constant with constant value.
  2. Extract duplicate waitAndClick...(CONSTANT) to waitAndClickConstant, Javadoc a
    #CONSTANT
    .
  3. Replace large chunks of duplication
  4. KULRICE-9205 Invert dependencies on fields and extract methods to WebDriverUtil so inheritance doesn't have to be used for reuse. See WebDriverUtil.waitFor
  5. Extract Nav specific code?
  6. Rename to WebDriverAbstractSmokeTestBase

Calls to passed() probably don't belong in the methods reused here.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
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.')]
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_LOGIN_UIF
          Set -Dremote.login.uif=KNS to use old login screen.
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 Summary
WebDriverLegacyITBase()
           
 
Method Summary
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 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 assertIsNotVisibleByXpath(String xpath, String message)
           
protected  void assertIsVisibleByXpath(String xpath, String message)
           
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
protected  void assertTableLayout()
           
protected  void assertTextPresent(String text)
           
protected  void assertTextPresent(String text, String message)
           
protected  void back()
           
protected  void blanketApproveTest()
          Tests blanket approve action.
protected  void check(org.openqa.selenium.By by)
           
protected  void checkByName(String name)
           
protected  void checkByXpath(String locator)
           
protected  void checkErrorMessageItem(String message)
           
 void checkForDocError()
           
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)
           
 void fail(String message)
          Fail in a framework appropriate way.
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 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 getAttribute(org.openqa.selenium.By by, String attribute)
           
protected  String getAttributeByName(String name, String attribute)
          Get value of any attribute by using element name
protected  String getAttributeByXpath(String locator, String attribute)
          Get value of any attribute by using element xpath
protected  String getBaseUrlString()
           
protected  int getCssCount(org.openqa.selenium.By by)
           
protected  int getCssCount(String selector)
           
protected  String getDocStatus()
           
protected  String[] getSelectOptions(org.openqa.selenium.By by)
           
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
 boolean hasDocError()
           
 boolean hasDocError(String errorTextToMatch)
           
protected  boolean isElementPresent(org.openqa.selenium.By by)
           
protected  boolean isElementPresent(String locator)
           
protected  boolean isElementPresentByLinkText(String locator)
           
protected  boolean isElementPresentByName(String name)
           
protected  boolean isElementPresentByXpath(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 isKradLogin()
          Use the KRAD Login Screen or the old KNS Login Screen
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  void jiraAwareWaitFor(org.openqa.selenium.By by, String message)
           
protected  void jiraAwareWaitFor(org.openqa.selenium.By by, String message, Failable failable)
           
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)
           
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)
           
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 testActionColumnPlacement()
          Test action column placement in table layout collections
protected  void testAddBlankLine()
          Test adding a column of values to the Add Blank Line Tests Table Layout
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 testAddViaLightbox()
           
protected  void testAgendaEditRuleRefreshIT()
           
protected  void testAttributeDefinitionLookUp()
           
protected  void testCancelConfirmation()
           
protected  void testCategoryLookUp()
           
protected  void testCollectionTotalling()
           
protected  void testColumnSequence()
           
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 testDefaultTestsTableLayout()
           
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 testIfRowHasBeenAdded()
           
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 testSequencerow()
           
protected  void testServerErrorsIT()
           
protected  void testServerInfoIT()
           
protected  void testServerWarningsIT()
           
 void testSetUp()
          Setup the WebDriver properties, test, and login.
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)
          ADMINISTRATION_LINK_TEXT
protected  void waitAndClickButtonByText(String buttonText)
           
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()
          CANCEL_NAME
protected  void waitAndClickCloseWindow()
          CLOSE_WINDOW_XPATH_TITLE
protected  void waitAndClickCopy()
          COPY_LINK_TEXT
protected  void waitAndClickCreateNew()
          CREATE_NEW_XPATH
protected  void waitAndClickDocSearch()
          {}@link #DOC_SEARCH_XPATH}
protected  void waitAndClickDocSearchTitle()
          DOC_SEARCH_XPATH_TITLE
protected  void waitAndClickEdit()
           
protected  void waitAndClickKRAD()
          KRAD_XPATH
protected  void waitAndClickLogout()
          LOGOUT_XPATH
protected  void waitAndClickLogout(Failable failable)
          LOGOUT_XPATH
protected  void waitAndClickMainMenu(Failable failable)
          {}@link #MAIN_MENU_LINK_TEXT}
protected  void waitAndClickReturnValue()
           
protected  void waitAndClickSave()
          SAVE_XPATH
protected  void waitAndClickSearch2()
           
protected  void waitAndClickSearch3()
           
protected  void waitAndClickSubmit()
          SUBMIT_XPATH
protected  void waitAndClickXMLIngester(Failable failable)
          XML_INGESTER_LINK_TEXT
protected  void waitAndCreateNew()
           
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 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  void 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  void waitForElementPresent(org.openqa.selenium.By by)
           
protected  void waitForElementPresent(String locator)
           
protected  void waitForElementPresentByClassName(String name)
           
protected  void waitForElementPresentByClassName(String name, String message)
           
protected  void waitForElementPresentById(String id)
           
protected  void waitForElementPresentByName(String name)
           
protected  void waitForElementPresentByXpath(String locator)
           
protected  void waitForElementVisible(String elementLocator, 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADMINISTRATION_LINK_TEXT

public static final String ADMINISTRATION_LINK_TEXT
Administration

See Also:
Constant Field Values

AGENDA_LOOKUP_LINK_TEXT

public static final String AGENDA_LOOKUP_LINK_TEXT
Agenda Lookup

See Also:
Constant Field Values

ARIA_INVALID_XPATH

public static final String ARIA_INVALID_XPATH
"//input[@aria-invalid]"

See Also:
Constant Field Values

BLANKET_APPROVE_NAME

public static final String BLANKET_APPROVE_NAME
methodToCall.blanketApprove

See Also:
Constant Field Values

CANCEL_NAME

public static final String CANCEL_NAME
methodToCall.cancel different cancel than CANCEL2_XPATH

See Also:
Constant Field Values

CANCEL2_XPATH

public static final String CANCEL2_XPATH
//a[contains(text(), 'ancel')] Different cancel than CANCEL_NAME

See Also:
Constant Field Values

CLOSE_WINDOW_XPATH_TITLE

public static final String CLOSE_WINDOW_XPATH_TITLE
//*[@title='close this window']

See Also:
Constant Field Values

COLLECTIONS_LINK_TEXT

public static final String COLLECTIONS_LINK_TEXT
Collections

See Also:
Constant Field Values

CONFIGURATION_VIEW_WINDOW_TITLE

public static final String CONFIGURATION_VIEW_WINDOW_TITLE
"Kuali :: Configuration Test View"

See Also:
Constant Field Values

CONFIGURATION_VIEW_XPATH

public static final String CONFIGURATION_VIEW_XPATH
(//a[contains(text(),'Configuration Test View')])[3]

See Also:
Constant Field Values

COPY_LINK_TEXT

public static final String COPY_LINK_TEXT
copy

See Also:
Constant Field Values

CREATE_NEW_DOCUMENT_NOT_SUBMITTED_SUCCESSFULLY_MESSAGE_TEXT

public static final String CREATE_NEW_DOCUMENT_NOT_SUBMITTED_SUCCESSFULLY_MESSAGE_TEXT
New Document not submitted successfully

See Also:
Constant Field Values

CREATE_NEW_XPATH

public static final String CREATE_NEW_XPATH
//img[@alt='create new']

See Also:
Constant Field Values

DEFAULT_WAIT_SEC

public static final int DEFAULT_WAIT_SEC
Default "long" wait period is 30 seconds. See REMOTE_PUBLIC_WAIT_SECONDS_PROPERTY to configure

See Also:
Constant Field Values

DIV_LEFT_ERRMSG

public static final String DIV_LEFT_ERRMSG
//div[@class='left-errmsg-tab']/div/div

See Also:
Constant Field Values

DOC_CODE_XPATH

public static final String DOC_CODE_XPATH
//input[@id='document.newMaintainableObject.code']

See Also:
Constant Field Values

DOC_ID_XPATH

public static final String DOC_ID_XPATH
//div[@id='headerarea']/div/table/tbody/tr[1]/td[1]

See Also:
Constant Field Values

DOC_ID_XPATH_2

public static final String DOC_ID_XPATH_2
//table[@id='row']/tbody/tr[1]/td[1

See Also:
Constant Field Values

DOC_ID_XPATH_3

public static final String DOC_ID_XPATH_3
//table[@id='row']/tbody/tr[1]/td[1]/a

See Also:
Constant Field Values

DOC_DESCRIPTION_XPATH

public static final String DOC_DESCRIPTION_XPATH
//input[@id='document.documentHeader.documentDescription']

See Also:
Constant Field Values

DOC_SEARCH_XPATH

public static final String DOC_SEARCH_XPATH
"//img[@alt='doc search']

See Also:
Constant Field Values

DOC_SEARCH_XPATH_TITLE

public static final String DOC_SEARCH_XPATH_TITLE
//a[@title='Document Search']

See Also:
Constant Field Values

DOC_STATUS_ENROUTE

public static final String DOC_STATUS_ENROUTE
ENROUTE

See Also:
Constant Field Values

DOC_STATUS_FINAL

public static final String DOC_STATUS_FINAL
FINAL

See Also:
Constant Field Values

DOC_STATUS_SAVED

public static final String DOC_STATUS_SAVED
SAVED

See Also:
Constant Field Values

DOC_STATUS_XPATH

public static final String DOC_STATUS_XPATH
//table[@class='headerinfo']//tr[1]/td[2]

See Also:
Constant Field Values

DOC_STATUS_XPATH_2

public static final String DOC_STATUS_XPATH_2
//table[@id='row']/tbody/tr[1]/td[4]

See Also:
Constant Field Values

DOC_SUBMIT_SUCCESS_MSG_XPATH

public static final String DOC_SUBMIT_SUCCESS_MSG_XPATH
//div[contains(div,'Document was successfully submitted.')]

See Also:
Constant Field Values

EDIT_LINK_TEXT

public static final String EDIT_LINK_TEXT
edit

See Also:
Constant Field Values

IFRAMEPORTLET_NAME

public static final String IFRAMEPORTLET_NAME
iframeportlet

See Also:
Constant Field Values

KITCHEN_SINK_XPATH

public static final String KITCHEN_SINK_XPATH
(//a[contains(text(),'Uif Components (Kitchen Sink)')])[2]

See Also:
Constant Field Values

KRAD_XPATH

public static final String KRAD_XPATH
KRAD

See Also:
Constant Field Values

KUALI_UIF_COMPONENTS_WINDOW_XPATH

public static final String KUALI_UIF_COMPONENTS_WINDOW_XPATH
Kuali :: Uif Components

See Also:
Constant Field Values

KUALI_VIEW_WINDOW_TITLE

public static final String KUALI_VIEW_WINDOW_TITLE
"Kuali :: View Title"

See Also:
Constant Field Values

LOGOUT_XPATH

public static final String LOGOUT_XPATH
//input[@name='imageField' and @value='Logout']

See Also:
Constant Field Values

MAIN_MENU_LINK_TEXT

public static final String MAIN_MENU_LINK_TEXT
Main Menu

See Also:
Constant Field Values

REGEX_ERROR

public static final String REGEX_ERROR
^[\s\S]*error[\s\S]*$"

See Also:
Constant Field Values

REGEX_VALID

public static final String REGEX_VALID
^[\s\S]*valid[\s\S]*$

See Also:
Constant Field Values

REMOTE_PUBLIC_USER_PROPERTY

public static final String REMOTE_PUBLIC_USER_PROPERTY
Set -Dremote.public.user= to the username to login as

See Also:
Constant Field Values

REMOTE_PUBLIC_USERPOOL_PROPERTY

public static final 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.

See Also:
Constant Field Values

REMOTE_LOGIN_UIF

public static final String REMOTE_LOGIN_UIF
Set -Dremote.login.uif=KNS to use old login screen. Default value = KRAD

See Also:
Constant Field Values

REMOTE_PUBLIC_WAIT_SECONDS_PROPERTY

public static final String REMOTE_PUBLIC_WAIT_SECONDS_PROPERTY
Set -Dremote.public.wait.seconds to override DEFAULT_WAIT_SEC

See Also:
Constant Field Values

RETURN_VALUE_LINK_TEXT

public static final String RETURN_VALUE_LINK_TEXT
return value

See Also:
Constant Field Values

RICH_MESSAGES_WINDOW_TITLE

public static final String RICH_MESSAGES_WINDOW_TITLE
Kuali :: Rich Messages

See Also:
Constant Field Values

SAVE_SUCCESSFUL_XPATH

public static final String SAVE_SUCCESSFUL_XPATH
//div[contains(div,'Document was successfully saved.')]

See Also:
Constant Field Values

SAVE_XPATH

public static final String SAVE_XPATH
//input[@name='methodToCall.save' and @alt='save']

See Also:
Constant Field Values

SAVE_XPATH_2

public static final String SAVE_XPATH_2
KIM Screens //*[@name='methodToCall.save' and @alt='save']

See Also:
Constant Field Values

SAVE_XPATH_3

public static final String SAVE_XPATH_3
//input[@title='search' and @name='methodToCall.search']

See Also:
Constant Field Values

SEARCH_XPATH

public static final String SEARCH_XPATH
//input[@name='methodToCall.search' and @value='search']

See Also:
Constant Field Values

SUBMIT_XPATH

public static final String SUBMIT_XPATH
//input[@name='methodToCall.route' and @alt='submit']

See Also:
Constant Field Values

SEARCH_XPATH_2

public static final String SEARCH_XPATH_2
//input[@value='search']

See Also:
Constant Field Values

SEARCH_XPATH_3

public static final String SEARCH_XPATH_3
//button[contains(text(),'Search')]

See Also:
Constant Field Values

SUB_COLLECTION_UIF_DISCLOSURE_SPAN_UIF_HEADER_TEXT_SPAN_XPATH

public static final 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

See Also:
Constant Field Values

TIMEOUT_MESSAGE

public static final String TIMEOUT_MESSAGE
timeout

See Also:
Constant Field Values

TRAVEL_ACCOUNT_LOOKUP_LINK_TEXT

public static final String TRAVEL_ACCOUNT_LOOKUP_LINK_TEXT
Travel Account Lookup

See Also:
Constant Field Values

UIF_COMPONENTS_KITCHEN_SINK_LINK_TEXT

public static final String UIF_COMPONENTS_KITCHEN_SINK_LINK_TEXT
Uif Components (Kitchen Sink)

See Also:
Constant Field Values

VALIDATION_FRAMEWORK_DEMO_XPATH

public static final String VALIDATION_FRAMEWORK_DEMO_XPATH
(//a[contains(text(),'Validation Framework Demo')])[2]

See Also:
Constant Field Values

KUALI_COLLECTION_TOTALLING_WINDOW_XPATH

public static final String KUALI_COLLECTION_TOTALLING_WINDOW_XPATH
Kuali :: Collection Totaling

See Also:
Constant Field Values

KUALI_COLLECTION_TOTALLING_XPATH

public static final String KUALI_COLLECTION_TOTALLING_XPATH
//a[text()='Collection Totaling']

See Also:
Constant Field Values

XML_INGESTER_LINK_TEXT

public static final String XML_INGESTER_LINK_TEXT
XML Ingester

See Also:
Constant Field Values

FISCAL_OFFICER_INFO_MAINTENANCE_NEW_XPATH

public static final String FISCAL_OFFICER_INFO_MAINTENANCE_NEW_XPATH
//a[@title='FiscalOfficerInfo Maintenance (New)']

See Also:
Constant Field Values

driver

protected org.openqa.selenium.WebDriver driver

user

protected String user

waitSeconds

protected int waitSeconds

passed

protected boolean passed

uiFramework

protected String uiFramework

testName

public org.junit.rules.TestName testName

testMethodName

protected String testMethodName

jGrowlHeader

protected String jGrowlHeader
Constructor Detail

WebDriverLegacyITBase

public WebDriverLegacyITBase()
Method Detail

chromeDriverService

public static void chromeDriverService()
                                throws Exception
If WebDriverUtil.chromeDriverCreateCheck() returns a ChromeDriverService, start it. WebDriverUtil.chromeDriverCreateCheck()

Throws:
Exception

getTestUrl

public abstract String getTestUrl()
Navigation tests should return ITUtil.PORTAL. Bookmark tests should return BOOKMARK_URL.

Returns:
string

startSession

protected void startSession(Method method)
                     throws Exception
Throws:
Exception

testSetUp

public void testSetUp()
Setup the WebDriver properties, test, and login. Named testSetUp so it runs after TestNG's startSession(Method) WebDriverUtil.determineUser(String) WebDriverUtil.setUp(String, String, String, String)

Throws:
Exception

tearDown

public void tearDown()
Tear down test as configured. Do not allow exceptions to be thrown by tearDown, it kills the test run. WebDriverUtil.tearDown(boolean, String, String, String) REMOTE_PUBLIC_USERPOOL_PROPERTY ITUtil.dontTearDownPropertyNotSet()

Throws:
Exception

passed

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.


agendaLookupAssertions

protected void agendaLookupAssertions()
                               throws Exception
Throws:
Exception

alertAccept

protected void alertAccept()
Accept the javascript alert (clicking OK)


alertDismiss

protected void alertDismiss()
Dismiss the javascript alert (clicking Cancel)


assertAttributeClassRegexDoesntMatch

protected void assertAttributeClassRegexDoesntMatch(String field,
                                                    String regex)
                                             throws InterruptedException
Throws:
InterruptedException

assertAttributeClassRegexMatches

protected void assertAttributeClassRegexMatches(String field,
                                                String regex)
                                         throws InterruptedException
Throws:
InterruptedException

assertBlanketApproveButtonsPresent

protected void assertBlanketApproveButtonsPresent()

assertCancelConfirmation

protected void assertCancelConfirmation()
                                 throws InterruptedException
Throws:
InterruptedException

assertDocFinal

protected void assertDocFinal(String docId)
                       throws InterruptedException
Throws:
InterruptedException

assertElementPresentByName

protected void assertElementPresentByName(String name)

assertElementPresentByName

protected void assertElementPresentByName(String name,
                                          String message)

assertElementPresentByXpath

protected void assertElementPresentByXpath(String locator)

assertElementPresentByXpath

protected void assertElementPresentByXpath(String locator,
                                           String message)

assertElementPresentByLinkText

protected void assertElementPresentByLinkText(String linkText)

assertElementPresent

protected void assertElementPresent(String locator)

assertFocusTypeBlurError

protected void assertFocusTypeBlurError(String field,
                                        String textToType)
                                 throws InterruptedException
Throws:
InterruptedException

assertFocusTypeBlurError

protected void assertFocusTypeBlurError(String field,
                                        String[] errorInputs)
                                 throws InterruptedException
Throws:
InterruptedException

assertFocusTypeBlurValid

protected void assertFocusTypeBlurValid(String field,
                                        String textToType)
                                 throws InterruptedException
Throws:
InterruptedException

assertFocusTypeBlurValid

protected void assertFocusTypeBlurValid(String field,
                                        String[] validInputs)
                                 throws InterruptedException
Throws:
InterruptedException

assertIsVisibleByXpath

protected void assertIsVisibleByXpath(String xpath,
                                      String message)

assertIsNotVisibleByXpath

protected void assertIsNotVisibleByXpath(String xpath,
                                         String message)

assertPopUpWindowUrl

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

Parameters:
by - The locating mechanism of the element to be clicked
windowName - The name of the popup window
url - The URL of the popup window

assertTableLayout

protected void assertTableLayout()

assertTextPresent

protected void assertTextPresent(String text)

assertTextPresent

protected void assertTextPresent(String text,
                                 String message)

back

protected void back()

blanketApproveTest

protected void blanketApproveTest()
                           throws InterruptedException
Tests blanket approve action. This method is used by several different tests which perform various types of blanket approvals. Therefore, this is a candidate to remain in this base class

Throws:
InterruptedException

check

protected void check(org.openqa.selenium.By by)
              throws InterruptedException
Throws:
InterruptedException

checkByName

protected void checkByName(String name)
                    throws InterruptedException
Throws:
InterruptedException

checkByXpath

protected void checkByXpath(String locator)
                     throws InterruptedException
Throws:
InterruptedException

checkErrorMessageItem

protected void checkErrorMessageItem(String message)

checkForDocError

public void checkForDocError()

hasDocError

public boolean hasDocError()

hasDocError

public boolean hasDocError(String errorTextToMatch)

checkForIncidentReport

protected void checkForIncidentReport()

checkForIncidentReport

protected void checkForIncidentReport(String locator)

checkForIncidentReport

protected void checkForIncidentReport(String locator,
                                      String message)

checkForIncidentReport

protected void checkForIncidentReport(String locator,
                                      Failable failable,
                                      String message)

clearText

protected void clearText(org.openqa.selenium.By by)
                  throws InterruptedException
Throws:
InterruptedException

clearText

protected void clearText(String selector)
                  throws InterruptedException
Throws:
InterruptedException

clearTextByName

protected void clearTextByName(String name)
                        throws InterruptedException
Throws:
InterruptedException

clearTextByXpath

protected void clearTextByXpath(String locator)
                         throws InterruptedException
Throws:
InterruptedException

close

protected void close()

colapseExpandByXpath

protected void colapseExpandByXpath(String clickLocator,
                                    String visibleLocator)
                             throws InterruptedException
Throws:
InterruptedException

configNameSpaceBlanketApprove

protected String configNameSpaceBlanketApprove()
                                        throws Exception
Throws:
Exception

contextLookupAssertions

protected void contextLookupAssertions()
                                throws Exception
Throws:
Exception

expandColapseByXpath

protected void expandColapseByXpath(String clickLocator,
                                    String visibleLocator)
                             throws InterruptedException
Throws:
InterruptedException

getAllWindowTitles

public String[] getAllWindowTitles()
WebDriver.getWindowHandles()

Returns:

getAttribute

protected String getAttribute(org.openqa.selenium.By by,
                              String attribute)
                       throws InterruptedException
Throws:
InterruptedException

getAttributeByName

protected String getAttributeByName(String name,
                                    String attribute)
                             throws InterruptedException
Get value of any attribute by using element name

Parameters:
name - name of an element
attribute - the name of an attribute whose value is to be retrieved
Throws:
InterruptedException

getAttributeByXpath

protected String getAttributeByXpath(String locator,
                                     String attribute)
                              throws InterruptedException
Get value of any attribute by using element xpath

Parameters:
locator - locating mechanism of an element
attribute - the name of an attribute whose value is to be retrieved
Throws:
InterruptedException

getBaseUrlString

protected String getBaseUrlString()

getCssCount

protected int getCssCount(String selector)

getCssCount

protected int getCssCount(org.openqa.selenium.By by)

getDocStatus

protected String getDocStatus()

getSelectOptions

protected String[] getSelectOptions(org.openqa.selenium.By by)
                             throws InterruptedException
Throws:
InterruptedException

getSelectOptionsByName

protected String[] getSelectOptionsByName(String name)
                                   throws InterruptedException
Throws:
InterruptedException

getSelectOptionsByXpath

protected String[] getSelectOptionsByXpath(String locator)
                                    throws InterruptedException
Throws:
InterruptedException

getSessionId

public String getSessionId()
Returns:
sessionId

getText

protected String getText(org.openqa.selenium.By by)
                  throws InterruptedException
Throws:
InterruptedException

getTextByClassName

protected String getTextByClassName(String className)
                             throws InterruptedException
Throws:
InterruptedException

getTextById

protected String getTextById(String id)
                      throws InterruptedException
Throws:
InterruptedException

getTextByName

protected String getTextByName(String name)
                        throws InterruptedException
Throws:
InterruptedException

getText

protected String getText(String locator)
                  throws InterruptedException
Throws:
InterruptedException

getTextByXpath

protected String getTextByXpath(String locator)
                         throws InterruptedException
Throws:
InterruptedException

getTitle

protected String getTitle()

getUserName

public String getUserName()
"admin" by default. Can be overridden using REMOTE_PUBLIC_USER_PROPERTY

Returns:
string

gotoNestedFrame

protected void gotoNestedFrame()
Handles simple nested frame content; validates that a frame and nested frame exists before switching to it


fail

public void fail(String message)
Description copied from interface: Failable
Fail in a framework appropriate way.

Specified by:
fail in interface Failable
Parameters:
message - to display for the failure.

fireEvent

protected void fireEvent(String name,
                         String event)

fireEvent

protected void fireEvent(String name,
                         String value,
                         String event)

fireMouseOverEventByName

public void fireMouseOverEventByName(String name)
Actions.moveToElement(org.openqa.selenium.WebElement)

Parameters:
name -

fireMouseOverEventByXpath

public void fireMouseOverEventByXpath(String locator)
Actions.moveToElement(org.openqa.selenium.WebElement)

Parameters:
locator -

fireMouseOverEvent

public void fireMouseOverEvent(org.openqa.selenium.By by)
Actions.moveToElement(org.openqa.selenium.WebElement)

Parameters:
by -

isElementPresent

protected boolean isElementPresent(org.openqa.selenium.By by)

isElementPresent

protected boolean isElementPresent(String locator)

isElementPresentByName

protected boolean isElementPresentByName(String name)

isElementPresentByXpath

protected boolean isElementPresentByXpath(String locator)

isElementPresentByLinkText

protected boolean isElementPresentByLinkText(String locator)

isTextPresent

protected Boolean isTextPresent(String text)

isVisible

protected boolean isVisible(String locator)

isVisible

protected boolean isVisible(org.openqa.selenium.By by)

isVisibleById

protected boolean isVisibleById(String id)

isVisibleByXpath

protected boolean isVisibleByXpath(String locator)

jGrowl

protected void jGrowl(String message)

jGrowlSticky

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.


jiraAwareWaitAndClick

protected void jiraAwareWaitAndClick(org.openqa.selenium.By by,
                                     String message)
                              throws InterruptedException
Throws:
InterruptedException

jiraAwareWaitAndClick

protected void jiraAwareWaitAndClick(org.openqa.selenium.By by,
                                     String message,
                                     Failable failable)
                              throws InterruptedException
Throws:
InterruptedException

jiraAwareWaitFor

protected void jiraAwareWaitFor(org.openqa.selenium.By by,
                                String message)
                         throws InterruptedException
Throws:
InterruptedException

jiraAwareWaitFor

protected void jiraAwareWaitFor(org.openqa.selenium.By by,
                                String message,
                                Failable failable)
                         throws InterruptedException
Throws:
InterruptedException

open

protected void open(String url)

selectFrameIframePortlet

protected void selectFrameIframePortlet()

selectFrame

protected void selectFrame(String locator)

selectTopFrame

protected void selectTopFrame()

selectWindow

protected void selectWindow(String locator)

selectByXpath

protected void selectByXpath(String locator,
                             String selectText)
                      throws InterruptedException
Throws:
InterruptedException

selectByName

protected void selectByName(String name,
                            String selectText)
                     throws InterruptedException
Throws:
InterruptedException

select

protected void select(org.openqa.selenium.By by,
                      String selectText)
               throws InterruptedException
Throws:
InterruptedException

selectOptionByName

protected void selectOptionByName(String name,
                                  String optionValue)
                           throws InterruptedException
Throws:
InterruptedException

selectOptionByXpath

protected void selectOptionByXpath(String locator,
                                   String optionValue)
                            throws InterruptedException
Throws:
InterruptedException

selectOption

protected void selectOption(org.openqa.selenium.By by,
                            String optionValue)
                     throws InterruptedException
Throws:
InterruptedException

switchToWindow

public void switchToWindow(String title)
If a window contains the given title switchTo it.

Parameters:
title -

testAddingNamespace

protected void testAddingNamespace()
                            throws Exception
Throws:
Exception

testAddingNamespace

protected void testAddingNamespace(Failable failable)
                            throws Exception
Throws:
Exception

assertDocumentStatusSaved

protected void assertDocumentStatusSaved()

testAddingBrownGroup

protected void testAddingBrownGroup()
                             throws Exception
Throws:
Exception

testAgendaEditRuleRefreshIT

protected void testAgendaEditRuleRefreshIT()
                                    throws Exception
Throws:
Exception

testAttributeDefinitionLookUp

protected void testAttributeDefinitionLookUp()
                                      throws Exception
Throws:
Exception

testCancelConfirmation

protected void testCancelConfirmation()
                               throws InterruptedException
Throws:
InterruptedException

testConfigParamaterBlanketApprove

protected void testConfigParamaterBlanketApprove()
                                          throws Exception
Throws:
Exception

testCreateNewAgenda

protected void testCreateNewAgenda()
                            throws Exception
Throws:
Exception

testCreateDocType

protected void testCreateDocType()
                          throws Exception
Throws:
Exception

testCreateNewCancel

protected void testCreateNewCancel()
                            throws Exception
Throws:
Exception

testCreateNewParameter

protected List<String> testCreateNewParameter(String docId,
                                              String parameterName)
                                       throws Exception
Throws:
Exception

testCreateNewParameterType

protected List<String> testCreateNewParameterType(String docId,
                                                  String parameterType,
                                                  String parameterCode)
                                           throws Exception
Throws:
Exception

testCreateNewSearchReturnValueCancelConfirmation

protected void testCreateNewSearchReturnValueCancelConfirmation()
                                                         throws InterruptedException,
                                                                Exception
Throws:
InterruptedException
Exception

testCopyParameter

protected List<String> testCopyParameter(String docId,
                                         String parameterName)
                                  throws Exception
Throws:
Exception

testCopyParameterType

protected List<String> testCopyParameterType(String docId,
                                             String parameterType,
                                             String parameterCode)
                                      throws Exception
Throws:
Exception

testDocTypeLookup

protected void testDocTypeLookup()
                          throws Exception
Throws:
Exception

testEditParameterType

protected List<String> testEditParameterType(String docId,
                                             String parameterType,
                                             String parameterCode)
                                      throws Exception
Throws:
Exception

testEditParameter

protected List<String> testEditParameter(String docId,
                                         String parameterName)
                                  throws Exception
Throws:
Exception

testEditRouteRulesDelegation

protected void testEditRouteRulesDelegation()
                                     throws Exception
Throws:
Exception

testFiscalOfficerInfoMaintenanceNew

protected void testFiscalOfficerInfoMaintenanceNew()
                                            throws Exception
Throws:
Exception

testIdentityGroupBlanketApprove

protected void testIdentityGroupBlanketApprove()
                                        throws Exception
Throws:
Exception

testIdentityPermissionBlanketApprove

protected void testIdentityPermissionBlanketApprove()
                                             throws Exception
Throws:
Exception

testIdentityPersonBlanketApprove

protected void testIdentityPersonBlanketApprove()
                                         throws Exception
Throws:
Exception

testIdentityResponsibilityBlanketApprove

protected void testIdentityResponsibilityBlanketApprove()
                                                 throws Exception
Throws:
Exception

testIdentityRoleBlanketApprove

protected void testIdentityRoleBlanketApprove()
                                       throws Exception
Throws:
Exception

testLocationCampusBlanketApprove

protected void testLocationCampusBlanketApprove()
                                         throws Exception
Throws:
Exception

testLocationCountryBlanketApprove

protected void testLocationCountryBlanketApprove()
                                          throws InterruptedException
Throws:
InterruptedException

testLocationCountyBlanketApprove

protected void testLocationCountyBlanketApprove()
                                         throws Exception
Throws:
Exception

testLocationPostBlanketApprove

protected void testLocationPostBlanketApprove()
                                       throws Exception
Throws:
Exception

testLocationStateBlanketApprove

protected void testLocationStateBlanketApprove()
                                        throws Exception
Throws:
Exception

testLookUp

protected void testLookUp()
                   throws Exception
Throws:
Exception

performParameterInquiry

protected void performParameterInquiry(String parameterField)
                                throws Exception
Throws:
Exception

testLookUpParameterType

protected List<String> testLookUpParameterType(String docId,
                                               String parameterType,
                                               String parameterCode)
                                        throws Exception
Throws:
Exception

testLookUpParameter

protected List<String> testLookUpParameter(String docId,
                                           String parameterName)
                                    throws Exception
Throws:
Exception

testPeopleFlow

protected void testPeopleFlow()
                       throws Exception
Throws:
Exception

testTermLookupAssertions

protected void testTermLookupAssertions()
                                 throws Exception
Throws:
Exception

testTermSpecificationLookupAssertions

protected void testTermSpecificationLookupAssertions()
                                              throws Exception
Throws:
Exception

testVerifyModifiedParameter

protected List<String> testVerifyModifiedParameter(String docId,
                                                   String parameterName)
                                            throws Exception
Throws:
Exception

testVerifyCopyParameterType

protected List<String> testVerifyCopyParameterType(String docId,
                                                   String parameterType,
                                                   String parameterCode)
                                            throws Exception
Throws:
Exception

testCreateNewPermission

protected List<String> testCreateNewPermission(String docId,
                                               String permissionName)
                                        throws Exception
Throws:
Exception

testLookUpPermission

protected List<String> testLookUpPermission(String docId,
                                            String permissionName)
                                     throws Exception
Throws:
Exception

testEditPermission

protected List<String> testEditPermission(String docId,
                                          String permissionName)
                                   throws Exception
Throws:
Exception

testVerifyPermission

protected List<String> testVerifyPermission(String docId,
                                            String permissionName)
                                     throws Exception
Throws:
Exception

testCreateNewPerson

protected List<String> testCreateNewPerson(String docId,
                                           String personName)
                                    throws Exception
Throws:
Exception

testLookUpPerson

protected List<String> testLookUpPerson(String docId,
                                        String personName)
                                 throws Exception
Throws:
Exception

testVerifyPerson

protected List<String> testVerifyPerson(String docId,
                                        String personName)
                                 throws Exception
Throws:
Exception

testUifTooltip

protected void testUifTooltip(String NAME_FIELD_1,
                              String NAME_FIELD_2)
                       throws Exception
Throws:
Exception

testValidCharsConstraintIT

protected void testValidCharsConstraintIT()
                                   throws Exception
Throws:
Exception

assertFocusTypeBlurValidation

protected void assertFocusTypeBlurValidation(String field,
                                             String[] errorInputs,
                                             String[] validInputs)
                                      throws InterruptedException
Throws:
InterruptedException

testSubCollectionSize

protected void testSubCollectionSize()
                              throws Exception
Throws:
Exception

testDefaultTestsTableLayout

protected void testDefaultTestsTableLayout()
                                    throws Exception
Throws:
Exception

testAddBlankLine

protected void testAddBlankLine()
                         throws Exception
Test adding a column of values to the Add Blank Line Tests Table Layout

Throws:
Exception

testActionColumnPlacement

protected void testActionColumnPlacement()
                                  throws Exception
Test action column placement in table layout collections

Throws:
Exception

testAddViaLightbox

protected void testAddViaLightbox()
                           throws Exception
Throws:
Exception

testColumnSequence

protected void testColumnSequence()
                           throws Exception
Throws:
Exception

testSequencerow

protected void testSequencerow()
                        throws Exception
Throws:
Exception

testIfRowHasBeenAdded

protected void testIfRowHasBeenAdded()
                              throws Exception
Throws:
Exception

testCollectionTotalling

protected void testCollectionTotalling()
                                throws Exception
Throws:
Exception

testConfigurationTestView

protected void testConfigurationTestView(String idPrefix)
                                  throws Exception
Throws:
Exception

confirmAddLineControlsPresent

protected void confirmAddLineControlsPresent(String idPrefix,
                                             String addLineIdSuffix)
verify that add line controls are present


testAddLineWithSpecificTime

protected void testAddLineWithSpecificTime(String idPrefix,
                                           String addLineIdSuffix)
                                    throws Exception
Throws:
Exception

testAddLineWithAllDay

protected void testAddLineWithAllDay(String idPrefix,
                                     String addLineIdSuffix)
                              throws Exception
Throws:
Exception

testAddLineAllDay

protected void testAddLineAllDay(String idPrefix,
                                 String addLineIdSuffix)
                          throws Exception
Throws:
Exception

testCategoryLookUp

protected void testCategoryLookUp()
                           throws Exception
Throws:
Exception

testCreateSampleEDocLite

protected void testCreateSampleEDocLite()
                                 throws Exception
Throws:
Exception

testTermLookUp

protected void testTermLookUp()
                       throws Exception
Throws:
Exception

testWorkFlowRouteRulesBlanketApp

protected void testWorkFlowRouteRulesBlanketApp()
                                         throws Exception
Throws:
Exception

testCreateNewRRDTravelRequestDestRouting

protected void testCreateNewRRDTravelRequestDestRouting()
                                                 throws Exception
Throws:
Exception

testWorkFlowRouteRulesCreateNew

protected void testWorkFlowRouteRulesCreateNew()
                                        throws Exception
Throws:
Exception

testWorkFlowRouteRulesEditRouteRules

protected void testWorkFlowRouteRulesEditRouteRules()
                                             throws Exception
tests that a Routing Rule maintenance document is created for an edit operation originating from a lookup screen

Throws:
Exception

testCreateNewComponent

protected String testCreateNewComponent(String componentName,
                                        String componentCode)
                                 throws Exception
Throws:
Exception

testCreateNewComponent

protected String testCreateNewComponent(String componentName,
                                        String componentCode,
                                        String message)
                                 throws Exception
Throws:
Exception

testLookUpComponent

protected void testLookUpComponent(String docId,
                                   String componentName,
                                   String componentCode)
                            throws Exception
Throws:
Exception

testEditComponent

protected void testEditComponent(String docId,
                                 String componentName,
                                 String componentCode)
                          throws Exception
Throws:
Exception

testCopyComponent

protected void testCopyComponent(String docId,
                                 String componentName,
                                 String componentCode)
                          throws Exception
Throws:
Exception

testVerifyCopyComponent

protected void testVerifyCopyComponent(String docId,
                                       String componentName,
                                       String componentCode)
                                throws Exception
Throws:
Exception

testPageHelp

protected void testPageHelp()
                     throws Exception
Test the tooltip and external help on the page

Throws:
Exception

testTooltipHelp

protected void testTooltipHelp()
                        throws Exception
Test the tooltip help on the section and fields

Throws:
Exception

testDisplayOnlyTooltipHelp

protected void testDisplayOnlyTooltipHelp()
                                   throws Exception
Test the tooltip help on the sub-section and fields that are display only

Throws:
Exception

testMissingTooltipHelp

protected void testMissingTooltipHelp()
                               throws Exception
Test the tooltip help on the section and fields with no content

Throws:
Exception

testExternalHelp2

protected void testExternalHelp2()
                          throws Exception
Test the external help on the section and fields

Throws:
Exception

testDisplayOnlyExternalHelp2

protected void testDisplayOnlyExternalHelp2()
                                     throws Exception
Test the external help on the sub-section and display only fields

Throws:
Exception

testMissingExternalHelp2

protected void testMissingExternalHelp2()
                                 throws Exception
Test the external help on the section and fields with missing help URL

Throws:
Exception

testReferenceCampusTypeBlanketApprove

protected void testReferenceCampusTypeBlanketApprove()
                                              throws Exception
Throws:
Exception

testSearchEditCancel

protected void testSearchEditCancel()
                             throws InterruptedException
Throws:
InterruptedException

testServerErrorsIT

protected void testServerErrorsIT()
                           throws Exception
Throws:
Exception

testServerInfoIT

protected void testServerInfoIT()
                         throws Exception
Throws:
Exception

testServerWarningsIT

protected void testServerWarningsIT()
                             throws Exception
Throws:
Exception

testViewHelp

protected void testViewHelp()
                     throws Exception
Test the tooltip and external help on the view

Throws:
Exception

testViewHelp2

protected void testViewHelp2()
                      throws Exception
Test the tooltip and external help on the view

Throws:
Exception

testVerifyAddDeleteFiscalOfficerLegacy

protected void testVerifyAddDeleteFiscalOfficerLegacy()
                                               throws Exception
Throws:
Exception

testVerifyAddDeleteNoteLegacy

protected void testVerifyAddDeleteNoteLegacy()
                                      throws Exception
Throws:
Exception

testVerifyAdHocRecipientsLegacy

protected void testVerifyAdHocRecipientsLegacy()
                                        throws Exception
Throws:
Exception

testVerifyButtonsLegacy

protected void testVerifyButtonsLegacy()
                                throws Exception
Throws:
Exception

testVerifyConstraintText

protected void testVerifyConstraintText()
                                 throws Exception
Throws:
Exception

testVerifyEditedComponent

protected void testVerifyEditedComponent(String docId,
                                         String componentName,
                                         String componentCode)
                                  throws Exception
Throws:
Exception

testVerifyDisclosures

protected void testVerifyDisclosures()
                              throws Exception
Throws:
Exception

testVerifyDocumentOverviewLegacy

protected void testVerifyDocumentOverviewLegacy()
                                         throws Exception
Throws:
Exception

testVerifyExpandCollapse

protected void testVerifyExpandCollapse()
                                 throws Exception
Throws:
Exception

testVerifyFieldsLegacy

protected void testVerifyFieldsLegacy()
                               throws Exception
Throws:
Exception

testVerifyHeaderFieldsLegacy

protected void testVerifyHeaderFieldsLegacy()
                                     throws Exception
Throws:
Exception

testVerifyLookupAddMultipleLinesLegacy

protected void testVerifyLookupAddMultipleLinesLegacy()
                                               throws Exception
Throws:
Exception

testVerifyNotesAndAttachments

protected void testVerifyNotesAndAttachments()
                                      throws Exception
Throws:
Exception

testVerifyQuickfinderIconsLegacy

protected void testVerifyQuickfinderIconsLegacy()
                                         throws Exception
Throws:
Exception

testVerifyRouteLog

protected void testVerifyRouteLog()
                           throws Exception
Throws:
Exception

testVerifySave

protected void testVerifySave()
                       throws Exception
Throws:
Exception

testVerifySubsidizedPercentWatermarkLegacy

protected void testVerifySubsidizedPercentWatermarkLegacy()
                                                   throws Exception
Throws:
Exception

testWorkFlowDocTypeBlanketApprove

protected void testWorkFlowDocTypeBlanketApprove()
                                          throws Exception
Throws:
Exception

uncheck

protected void uncheck(org.openqa.selenium.By by)
                throws InterruptedException
Throws:
InterruptedException

uncheckByName

protected void uncheckByName(String name)
                      throws InterruptedException
Throws:
InterruptedException

uncheckByXpath

protected void uncheckByXpath(String locator)
                       throws InterruptedException
Throws:
InterruptedException

validateErrorImage

protected boolean validateErrorImage(boolean validateVisible)
                              throws Exception
Throws:
Exception

verifyRichMessagesValidationBasicFunctionality

protected void verifyRichMessagesValidationBasicFunctionality()
                                                       throws Exception
Throws:
Exception

verifyRichMessagesValidationAdvancedFunctionality

protected void verifyRichMessagesValidationAdvancedFunctionality()
                                                          throws Exception
Throws:
Exception

verifyRichMessagesValidationLettersNumbersValidation

protected void verifyRichMessagesValidationLettersNumbersValidation()
                                                             throws Exception
Throws:
Exception

verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality

protected void verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality()
                                                                       throws Exception
Throws:
Exception

verifyRichMessagesValidationLinkDeclarationsFunctionality

protected void verifyRichMessagesValidationLinkDeclarationsFunctionality()
                                                                  throws Exception
Throws:
Exception

waitAndClickAdministration

protected void waitAndClickAdministration(Failable failable)
                                   throws InterruptedException
ADMINISTRATION_LINK_TEXT

Parameters:
failable -
Throws:
InterruptedException

waitAndCancelConfirmation

protected void waitAndCancelConfirmation()
                                  throws InterruptedException
Throws:
InterruptedException

waitAndClick

protected void waitAndClick(org.openqa.selenium.By by)
                     throws InterruptedException
Throws:
InterruptedException

waitAndClick

protected void waitAndClick(org.openqa.selenium.By by,
                            Failable failable)
                     throws InterruptedException
Throws:
InterruptedException

waitAndClick

protected void waitAndClick(String locator,
                            String message)
                     throws InterruptedException
Throws:
InterruptedException

waitAndClickById

protected void waitAndClickById(String id,
                                String message)
                         throws InterruptedException
Throws:
InterruptedException

waitAndClickButtonByText

protected void waitAndClickButtonByText(String buttonText)
                                 throws InterruptedException
Throws:
InterruptedException

waitAndClickByLinkText

protected void waitAndClickByLinkText(String text)
                               throws InterruptedException
Throws:
InterruptedException

waitAndClickByLinkText

protected void waitAndClickByLinkText(String text,
                                      String message)
                               throws InterruptedException
Throws:
InterruptedException

waitAndClickByLinkText

protected void waitAndClickByLinkText(String text,
                                      Failable failable)
                               throws InterruptedException
Throws:
InterruptedException

waitAndClickByLinkText

protected void waitAndClickByLinkText(String text,
                                      String message,
                                      Failable failable)
                               throws InterruptedException
Throws:
InterruptedException

waitAndClickByName

protected void waitAndClickByName(String name)
                           throws InterruptedException
Throws:
InterruptedException

waitAndClickByXpath

protected void waitAndClickByXpath(String xpath)
                            throws InterruptedException
Throws:
InterruptedException

waitAndClickByXpath

protected void waitAndClickByXpath(String xpath,
                                   Failable failable)
                            throws InterruptedException
Throws:
InterruptedException

waitAndClickByName

protected void waitAndClickByName(String name,
                                  String message)
                           throws InterruptedException
Throws:
InterruptedException

waitAndClickByXpath

protected void waitAndClickByXpath(String xpath,
                                   String message)
                            throws InterruptedException
Throws:
InterruptedException

waitAndClickCancel

protected void waitAndClickCancel()
                           throws InterruptedException
CANCEL_NAME

Throws:
InterruptedException

waitAndClickCloseWindow

protected void waitAndClickCloseWindow()
                                throws InterruptedException
CLOSE_WINDOW_XPATH_TITLE

Throws:
InterruptedException

waitAndClickCopy

protected void waitAndClickCopy()
                         throws InterruptedException
COPY_LINK_TEXT

Throws:
InterruptedException

waitAndClickDocSearch

protected void waitAndClickDocSearch()
                              throws InterruptedException
{}@link #DOC_SEARCH_XPATH}

Throws:
InterruptedException

waitAndClickDocSearchTitle

protected void waitAndClickDocSearchTitle()
                                   throws InterruptedException
DOC_SEARCH_XPATH_TITLE

Throws:
InterruptedException

waitAndClickLogout

protected void waitAndClickLogout()
                           throws InterruptedException
LOGOUT_XPATH

Throws:
InterruptedException

waitAndClickLogout

protected void waitAndClickLogout(Failable failable)
                           throws InterruptedException
LOGOUT_XPATH

Parameters:
failable -
Throws:
InterruptedException

waitAndClickMainMenu

protected void waitAndClickMainMenu(Failable failable)
                             throws InterruptedException
{}@link #MAIN_MENU_LINK_TEXT}

Parameters:
failable -
Throws:
InterruptedException

waitAndClickSave

protected void waitAndClickSave()
                         throws InterruptedException
SAVE_XPATH

Throws:
InterruptedException

waitAndClickSubmit

protected void waitAndClickSubmit()
                           throws InterruptedException
SUBMIT_XPATH

Throws:
InterruptedException

waitAndClickXMLIngester

protected void waitAndClickXMLIngester(Failable failable)
                                throws InterruptedException
XML_INGESTER_LINK_TEXT

Parameters:
failable -
Throws:
InterruptedException

waitAndType

protected void waitAndType(org.openqa.selenium.By by,
                           String text)
                    throws InterruptedException
Throws:
InterruptedException

waitAndType

protected void waitAndType(org.openqa.selenium.By by,
                           String text,
                           String message)
                    throws InterruptedException
Throws:
InterruptedException

waitAndType

protected void waitAndType(String selector,
                           String text)
                    throws InterruptedException
Throws:
InterruptedException

waitAndTypeByXpath

protected void waitAndTypeByXpath(String locator,
                                  String text)
                           throws InterruptedException
Throws:
InterruptedException

waitAndTypeByXpath

protected void waitAndTypeByXpath(String locator,
                                  String text,
                                  String message)
                           throws InterruptedException
Throws:
InterruptedException

waitAndTypeByName

protected void waitAndTypeByName(String name,
                                 String text)
                          throws InterruptedException
Throws:
InterruptedException

waitAndCreateNew

protected void waitAndCreateNew()
                         throws InterruptedException
Throws:
InterruptedException

waitAndClickCreateNew

protected void waitAndClickCreateNew()
                              throws InterruptedException
CREATE_NEW_XPATH

Throws:
InterruptedException

waitAndClickEdit

protected void waitAndClickEdit()
                         throws InterruptedException
Throws:
InterruptedException

waitAndClickReturnValue

protected void waitAndClickReturnValue()
                                throws InterruptedException
Throws:
InterruptedException

waitAndClickSearch2

protected void waitAndClickSearch2()
                            throws InterruptedException
Throws:
InterruptedException

waitAndClickSearch3

protected void waitAndClickSearch3()
                            throws InterruptedException
Throws:
InterruptedException

waitForDocId

protected String waitForDocId()
                       throws InterruptedException
Throws:
InterruptedException

waitForElementPresent

protected void waitForElementPresent(org.openqa.selenium.By by)
                              throws InterruptedException
Throws:
InterruptedException

waitForElementPresent

protected void waitForElementPresent(String locator)
                              throws InterruptedException
Throws:
InterruptedException

waitForElementPresentByClassName

protected void waitForElementPresentByClassName(String name)
                                         throws InterruptedException
Throws:
InterruptedException

waitForElementPresentByClassName

protected void waitForElementPresentByClassName(String name,
                                                String message)
                                         throws InterruptedException
Throws:
InterruptedException

waitForElementPresentById

protected void waitForElementPresentById(String id)
                                  throws InterruptedException
Throws:
InterruptedException

waitForElementPresentByName

protected void waitForElementPresentByName(String name)
                                    throws InterruptedException
Throws:
InterruptedException

waitForElementPresentByXpath

protected void waitForElementPresentByXpath(String locator)
                                     throws InterruptedException
Throws:
InterruptedException

waitForTitleToEqualKualiPortalIndex

protected void waitForTitleToEqualKualiPortalIndex()
                                            throws InterruptedException
Throws:
InterruptedException

waitIsVisible

protected void waitIsVisible(org.openqa.selenium.By by)
                      throws InterruptedException
Throws:
InterruptedException

waitIsVisible

protected void waitIsVisible(org.openqa.selenium.By by,
                             String message)
                      throws InterruptedException
Throws:
InterruptedException

waitAreAnyVisible

protected boolean waitAreAnyVisible(org.openqa.selenium.By[] bys)
                             throws InterruptedException
Throws:
InterruptedException

isVisible

protected boolean isVisible(org.openqa.selenium.By[] bys)

waitForElementVisible

protected void waitForElementVisible(String elementLocator,
                                     String message)
                              throws InterruptedException
Throws:
InterruptedException

waitIsVisible

protected void waitIsVisible(String locator)
                      throws InterruptedException
Throws:
InterruptedException

waitIsVisibleByXpath

protected void waitIsVisibleByXpath(String locator)
                             throws InterruptedException
Throws:
InterruptedException

waitIsVisibleByXpath

protected void waitIsVisibleByXpath(String locator,
                                    String message)
                             throws InterruptedException
Throws:
InterruptedException

waitForTitleToEqualKualiPortalIndex

protected void waitForTitleToEqualKualiPortalIndex(String message)
                                            throws InterruptedException
Throws:
InterruptedException

waitAndClick

protected void waitAndClick(String locator)
                     throws InterruptedException
Throws:
InterruptedException

waitForPageToLoad

protected void waitForPageToLoad()

waitFor

protected void waitFor(org.openqa.selenium.By by)
                throws InterruptedException
Throws:
InterruptedException

waitFor

protected void waitFor(org.openqa.selenium.By by,
                       String message)
                throws InterruptedException
Should be called from jiraAwareWaitFor to get KULRICE error output in CI. Inner most waitFor, let it throw the failure so the timeout message reflects the waitSeconds time, not the 1 second it is set to before returning.

Parameters:
by -
message -
Throws:
InterruptedException

waitAndClickKRAD

protected void waitAndClickKRAD()
                         throws InterruptedException
KRAD_XPATH

Throws:
InterruptedException

waitNotVisible

protected void waitNotVisible(org.openqa.selenium.By by)
                       throws InterruptedException
Throws:
InterruptedException

waitNotVisibleByXpath

protected void waitNotVisibleByXpath(String locator)
                              throws InterruptedException
Throws:
InterruptedException

isKradLogin

protected boolean isKradLogin()
Use the KRAD Login Screen or the old KNS Login Screen


isKrad

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.

Returns:

getUiFramework

public String getUiFramework()
Determines whether KRAD or KNS UIF is used for this test. Useful if trying to re-use a test for both a KNS and KRAD screens that have different paths to the elements.

Returns:

setUiFramework

public void setUiFramework(String uiFramework)
Sets which UIF is used by this test



Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.