org.kuali.rice.krad.demo.uif.library
Class DemoLibraryBase

java.lang.Object
  extended by org.kuali.rice.testtools.selenium.AutomatedFunctionalTestBase
      extended by org.kuali.rice.testtools.selenium.JiraAwareAftBase
          extended by org.kuali.rice.testtools.selenium.WebDriverAftBase
              extended by org.kuali.rice.krad.demo.uif.library.DemoLibraryBase
All Implemented Interfaces:
JiraAwareFailable
Direct Known Subclasses:
DemoCollectionSequenceAft, DemoContainersGroupBasicAft, DemoControlCheckboxDefaultAft, DemoElementsActionAft, DemoFieldsActionAft, DemoFieldsDataAft, DemoFieldsImageAft, DemoFieldsInputAft, DemoFieldsLinkAft, DemoFieldsMessageAft, DemoLibraryNavigationBase, DemoValidationSimpleConstraintsRequiredAft, DemoWidgetsBreadcrumbsAft, DemoWidgetsDatePickerAft, DemoWidgetsDisclosureAft, DemoWidgetsGrowlAft, DemoWidgetsHelpAft, DemoWidgetsSuggestAft, DemoWidgetsSyntaxHighlighterAft, DemoWidgetsTooltipAft

public abstract class DemoLibraryBase
extends WebDriverAftBase

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

Field Summary
 
Fields inherited from class org.kuali.rice.testtools.selenium.WebDriverAftBase
chromeDriverService, DATA_TABLE_TH_CSS, driver, jGrowlHeader, LOOKUP_CRITERIA_NUMBER_NAME, REGEX_ERROR, REGEX_VALID, RETURN_SELECTED_BUTTON_TEXT, RETURN_VALUE_LINK_TEXT, SEARCH_XPATH_3, sessionId, SHOW_INACTIVE, SUB_COLLECTION_UIF_DISCLOSURE_SPAN_UIF_HEADER_TEXT_SPAN_XPATH, testMethodName, testName, TIMEOUT_MESSAGE, user, waitSeconds, webDriverScreenshotHelper
 
Fields inherited from class org.kuali.rice.testtools.selenium.AutomatedFunctionalTestBase
shouldNavigate, testUrl
 
Constructor Summary
DemoLibraryBase()
           
 
Method Summary
 org.openqa.selenium.WebElement navigateToExample(String exampleId)
          Automatically selects and returns the appropriate example div by the id specified, works with demos that use either the tab navigation or dropdown navigation for their example navigation; if the example by id is already selected, this method still verifies that the group is visible and does not fail
 void navigateToLibraryDemo(String libraryMenuCategoryName, String demoItemName)
          Automatically selects the library link and then navigate to the appropriate demo in the category specified
 
Methods inherited from class org.kuali.rice.testtools.selenium.WebDriverAftBase
acceptAlertIfPresent, alertAccept, alertDismiss, areAllMultiValueSelectsChecked, areNoMultiValueSelectsChecked, assertAttributeClassRegexDoesntMatch, assertAttributeClassRegexMatches, assertElementPresentInResultPages, assertElementsPresentInResultPages, assertEmptyInputByName, assertFocusTypeBlurError, assertFocusTypeBlurError, assertFocusTypeBlurValid, assertFocusTypeBlurValid, assertFocusTypeBlurValidation, assertFocusTypeTabError, assertJgrowlText, assertLabelFor, assertLabelWithTextPresent, assertMultiValueDeselectAllThisPage, assertMultiValueSelectAllThisPage, assertPopUpWindowUrl, assertTextPresent, assertTextPresent, back, check, checkById, checkByName, checkByXpath, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, chromeDriverService, clearText, clearText, clearTextByName, clearTextByXpath, close, closeAndQuitWebDriver, colapseExpandByXpath, determineImplicitWait, determineJgrowlHeader, determineTestMethodName, determineUser, findButtonByText, findElements, findElements, findVisibleElements, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventById, fireMouseOverEventByName, fireMouseOverEventByXpath, getAllWindowTitles, getBaseUrlString, getCssCount, getCssCount, getDateTimeStampFormatted, getDateToday, getDateTomorrow, getDriver, getElementByAttribute, getElementByAttributeValue, getElementByDataAttribute, getElementByDataAttributeValue, getElementsByAttributeValue, getForLabelText, getNavigationUrl, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByClassName, getTextById, getTextByName, getTextByXpath, getTitle, getUserName, gotoIframeById, gotoIframeByXpath, gotoLightBox, howManyAreVisible, incidentReportMessage, isChecked, isCheckedById, isCheckedByName, isCheckedByXpath, isElementPresent, isElementPresent, isElementPresentByDataAttributeValue, isElementPresentById, isElementPresentByLinkText, isElementPresentByName, isElementPresentByXpath, isEnabled, isEnabledById, isEnabledByName, isEnabledByXpath, isNextLinkEnabled, isNotVisible, isTextPresent, isVisible, jGrowl, jGrowlSticky, login, logout, multiValueResultCount, navigate, open, screenshot, select, selectByName, selectByXpath, selectChildWindow, selectParentWindow, selectTopFrame, selectWindow, startSession, switchToWindow, tearDown, testSetUp, uncheck, uncheckByName, uncheckByXpath, waitAndClick, waitAndClick, waitAndClick, waitAndClick, waitAndClickAllByName, waitAndClickButtonByExactText, waitAndClickButtonByExactText, waitAndClickButtonByText, waitAndClickButtonByText, waitAndClickById, waitAndClickById, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByName, waitAndClickByName, waitAndClickByValue, waitAndClickByXpath, waitAndClickByXpath, waitAndClickByXpath, waitAndClickDropDown, waitAndClickLabeledLink, waitAndClickLinkContainingText, waitAndClickLinkContainingText, waitAndClickReturnValue, waitAndClickReturnValue, waitAndClickSearch3, waitAndGetAttribute, waitAndGetAttributeByName, waitAndGetAttributeByXpath, waitAndGetElementByAttributeValue, waitAndGetElementsByAttributeValue, waitAndGetText, waitAndSelectByName, waitAndType, waitAndType, waitAndTypeById, waitAndTypeByName, waitAndTypeByXpath, waitAndTypeByXpath, waitAreAnyVisible, waitFor, waitFor, waitForElementNotPresent, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForElementPresent, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentById, waitForElementPresentById, waitForElementPresentById, waitForElementPresentByName, waitForElementPresentByName, waitForElementPresentByXpath, waitForElementPresentByXpath, waitForElementsPresentByClassName, waitForElementsPresentById, waitForElementsPresentByXpath, waitForElementVisible, waitForElementVisibleBy, waitForElementVisibleById, waitForIsTextPresent, waitForLoadingProgress, waitForPageToLoad, waitForTextNotPresent, waitForTextPresent, waitForTextPresent, waitIsVisible, waitIsVisible, waitIsVisible, waitIsVisibleByXpath, waitIsVisibleByXpath, waitNotVisible, waitNotVisible, waitNotVisibleByXpath, waitNotVisibleByXpath
 
Methods inherited from class org.kuali.rice.testtools.selenium.JiraAwareAftBase
assertButtonDisabledByText, assertButtonEnabledByText, assertDataTableContains, assertDataTableContains, assertElementPresent, assertElementPresent, assertElementPresent, assertElementPresentByLinkText, assertElementPresentByName, assertElementPresentByName, assertElementPresentByXpath, assertElementPresentByXpath, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertIsNotVisible, assertIsNotVisible, assertIsNotVisible, assertIsNotVisibleByXpath, assertIsNotVisibleByXpath, assertIsVisible, assertIsVisible, assertIsVisibleById, assertIsVisibleByXpath, assertLabeledTextNotPresent, assertLabeledTextPresent, assertLabeledTextPresent, assertResultCount, assertTextNotPresent, assertTextNotPresent, assertTextNotPresent, assertTextPresent, assertTextPresent, assertTextPresent, assertTrue, assertTrue, fail, findDataTableRow, findDataTableRow, findElement, findElement, isLabeledTextPresent, isPassed, isVisible, isVisible, isVisibleById, isVisibleByXpath, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareFail, jiraAwareType, jiraAwareType, jiraAwareTypeByName, jiraAwareTypeByName, jiraAwareWaitAndClick, jiraAwareWaitAndClick, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFors, passed, selectOption, selectOptionByName, selectOptionByXpath, waitAndType
 
Methods inherited from class org.kuali.rice.testtools.selenium.AutomatedFunctionalTestBase
enableBookmarkMode, enableNavigationMode, getBookmarkUrl, getTestUrl, navigateInternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemoLibraryBase

public DemoLibraryBase()
Method Detail

navigateToLibraryDemo

public void navigateToLibraryDemo(String libraryMenuCategoryName,
                                  String demoItemName)
                           throws Exception
Automatically selects the library link and then navigate to the appropriate demo in the category specified

Parameters:
libraryMenuCategoryName - the category to select in the navigation accordion by name (text)
demoItemName - the demo link by name (text)
Throws:
Exception

navigateToExample

public org.openqa.selenium.WebElement navigateToExample(String exampleId)
                                                 throws Exception
Automatically selects and returns the appropriate example div by the id specified, works with demos that use either the tab navigation or dropdown navigation for their example navigation; if the example by id is already selected, this method still verifies that the group is visible and does not fail

Parameters:
exampleId - the id of the example
Returns:
the WebElement representing the example group
Throws:
Exception


Copyright © 2005–2015 The Kuali Foundation. All rights reserved.