edu.samplu.krad.demo.travel.account
Class DemoTravelAccountMaintenanceNewSmokeTest

java.lang.Object
  extended by org.kuali.rice.testtools.selenium.WebDriverLegacyITBase
      extended by org.kuali.rice.testtools.selenium.SmokeTestBase
          extended by edu.samplu.krad.demo.travel.account.DemoTravelAccountMaintenanceNewSmokeTest
All Implemented Interfaces:
Failable

public class DemoTravelAccountMaintenanceNewSmokeTest
extends SmokeTestBase

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

Field Summary
static String BOOKMARK_URL
          /kr-krad/maintenance?methodToCall=start&dataObjectClassName=org.kuali.rice.krad.demo.travel.dataobject.TravelAccount&hideReturnLink=true
static String DATE_CREATED_FIELD
          Date created.
static String DESCRIPTION_FIELD
          Description field
static String EXPLANATION_FIELD
          Explanation field
static String FANCY_BOX_CLOSE_XPATH
          //div[@class='fancybox-item fancybox-close']
static String FANCY_BOX_IFRAME_XPATH
          //div[@class='fancybox-item fancybox-close']
static String FISCAL_OFFICER_ID_FIELD
          Fiscal officer ID
static String ORGANIZATION_DOCUMENT_NUMBER_FIELD
          Organization document number field
static String SUB_ACCOUNT_FIELD_XPATH
          Travel sub account field
static String SUB_ACCOUNT_NAME_FIELD_XPATH
          Travel sub account name field
static String SUBSIDIZED_PERCENT_FIELD
          Subsidized percent
static String TRAVEL_ACCOUNT_NAME_FIELD
          Travel account name field
static String TRAVEL_ACCOUNT_NUMBER_FIELD
          Travel account nUMBER field
static String TRAVEL_ACCOUNT_TYPE_CODE_FIELD
          Travel account type code field
 
Fields inherited from class org.kuali.rice.testtools.selenium.SmokeTestBase
shouldNavigate, testUrl
 
Fields inherited from class org.kuali.rice.testtools.selenium.WebDriverLegacyITBase
ADMINISTRATION_LINK_TEXT, AGENDA_LOOKUP_LINK_TEXT, ARIA_INVALID_XPATH, BLANKET_APPROVE_NAME, CANCEL_NAME, CANCEL2_XPATH, CLOSE_WINDOW_XPATH_TITLE, COLLECTIONS_LINK_TEXT, CONFIGURATION_VIEW_WINDOW_TITLE, CONFIGURATION_VIEW_XPATH, COPY_LINK_TEXT, CREATE_NEW_DOCUMENT_NOT_SUBMITTED_SUCCESSFULLY_MESSAGE_TEXT, CREATE_NEW_XPATH, CREATE_NEW_XPATH2, DIV_LEFT_ERRMSG, DOC_CODE_XPATH, DOC_DESCRIPTION_XPATH, DOC_ID_XPATH, DOC_ID_XPATH_2, DOC_ID_XPATH_3, DOC_SEARCH_XPATH, DOC_SEARCH_XPATH_TITLE, DOC_STATUS_ENROUTE, DOC_STATUS_FINAL, DOC_STATUS_SAVED, DOC_STATUS_XPATH, DOC_STATUS_XPATH_2, DOC_SUBMIT_SUCCESS_MSG_XPATH, DONT_TEAR_DOWN_ON_FAILURE_PROPERTY, driver, EDIT_LINK_TEXT, FISCAL_OFFICER_INFO_MAINTENANCE_NEW_XPATH, IFRAMEPORTLET_NAME, jGrowlHeader, KITCHEN_SINK_XPATH, KRAD_XPATH, KUALI_COLLECTION_TOTALLING_WINDOW_XPATH, KUALI_COLLECTION_TOTALLING_XPATH, KUALI_UIF_COMPONENTS_WINDOW_XPATH, KUALI_VIEW_WINDOW_TITLE, LABEL_KUALI_DEFAULT, LABEL_KUALI_KUALI_SYSTEMS, LOGOUT_XPATH, MAIN_MENU_LINK_TEXT, passed, REGEX_ERROR, REGEX_VALID, REMOTE_PUBLIC_USER_PROPERTY, REMOTE_PUBLIC_USERPOOL_PROPERTY, RETURN_SELECTED_BUTTON_TEXT, RETURN_VALUE_LINK_TEXT, RICH_MESSAGES_WINDOW_TITLE, SAVE_SUCCESSFUL_XPATH, SAVE_XPATH, SAVE_XPATH_2, SAVE_XPATH_3, SEARCH, SEARCH_XPATH, SEARCH_XPATH_2, SEARCH_XPATH_3, SUB_COLLECTION_UIF_DISCLOSURE_SPAN_UIF_HEADER_TEXT_SPAN_XPATH, SUBMIT_XPATH, testMethodName, testName, TIMEOUT_MESSAGE, TRAVEL_ACCOUNT_LOOKUP_LINK_TEXT, UIF_COMPONENTS_KITCHEN_SINK_LINK_TEXT, uiFramework, user, VALIDATION_FRAMEWORK_DEMO_XPATH, waitSeconds, XML_INGESTER_LINK_TEXT
 
Constructor Summary
DemoTravelAccountMaintenanceNewSmokeTest()
           
 
Method Summary
 String getBookmarkUrl()
           
 boolean isAlertPresent()
           
protected  void navigate()
           
 void testDemoTravelAccountMaintenanceNewBookmark()
           
 void testDemoTravelAccountMaintenanceNewNav()
           
protected  void testTravelAccountMaintenanceEditXss()
           
protected  void testTravelAccountMaintenanceNew()
           
 
Methods inherited from class org.kuali.rice.testtools.selenium.SmokeTestBase
enableBookmarkMode, enableNavigationMode, fail, getTestUrl, navigateInternal
 
Methods inherited from class org.kuali.rice.testtools.selenium.WebDriverLegacyITBase
agendaLookupAssertions, alertAccept, alertDismiss, areAllMultiValueSelectsChecked, areNoMultiValueSelectsChecked, assertAttributeClassRegexDoesntMatch, assertAttributeClassRegexMatches, assertBlanketApproveButtonsPresent, assertButtonDisabledByText, assertButtonEnabledByText, assertCancelConfirmation, assertDocFinal, assertDocumentStatusSaved, assertElementPresent, assertElementPresentByLinkText, assertElementPresentByName, assertElementPresentByName, assertElementPresentByXpath, assertElementPresentByXpath, assertFocusTypeBlurError, assertFocusTypeBlurError, assertFocusTypeBlurValid, assertFocusTypeBlurValid, assertFocusTypeBlurValidation, assertIsNotVisible, assertIsNotVisible, assertIsNotVisible, assertIsNotVisibleByXpath, assertIsNotVisibleByXpath, assertIsVisible, assertIsVisible, assertIsVisibleById, assertIsVisibleByXpath, assertLabelFor, assertMultiValueDeselectAllThisPage, assertMultiValueSelectAllThisPage, assertPopUpWindowUrl, assertTableLayout, assertTextNotPresent, assertTextNotPresent, assertTextPresent, assertTextPresent, assertTextPresent, back, blanketApproveCheck, blanketApproveTest, check, checkById, checkByName, checkByXpath, checkErrorMessageItem, checkForDocError, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, chromeDriverService, clearText, clearText, clearTextByName, clearTextByXpath, close, colapseExpandByXpath, configNameSpaceBlanketApprove, confirmAddLineControlsPresent, contextLookupAssertions, expandColapseByXpath, extractErrorText, failableFail, findButtonByText, findElement, findElement, findElements, findElements, findVisibleElements, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventById, fireMouseOverEventByName, fireMouseOverEventByXpath, getAllWindowTitles, getBaseUrlString, getCssCount, getCssCount, getDocStatus, getElementByAttribute, getElementByAttributeValue, getElementByDataAttribute, getElementByDataAttributeValue, getElementsByAttributeValue, getForLabelText, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByClassName, getTextById, getTextByName, getTextByXpath, getTitle, getUiFramework, getUserName, gotoIframeByXpath, gotoNestedFrame, hasDocError, hasDocError, howManyAreVisible, isChecked, isCheckedById, isCheckedByName, isCheckedByXpath, isElementPresent, isElementPresent, isElementPresentByDataAttributeValue, isElementPresentById, isElementPresentByLinkText, isElementPresentByName, isElementPresentByXpath, isEnabled, isEnabledById, isEnabledByName, isEnabledByXpath, isKrad, isNotVisible, isTextPresent, isVisible, isVisible, isVisible, isVisibleById, isVisibleByXpath, jGrowl, jGrowlSticky, jiraAwareWaitAndClick, jiraAwareWaitAndClick, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFor, jiraAwareWaitFors, multiValueResultCount, open, passed, performParameterInquiry, select, selectByName, selectByXpath, selectFrame, selectFrameIframePortlet, selectOption, selectOptionByName, selectOptionByXpath, selectTopFrame, selectWindow, setUiFramework, startSession, switchToWindow, tearDown, testAddingBrownGroup, testAddingNamespace, testAddingNamespace, testAddLineAllDay, testAddLineWithAllDay, testAddLineWithSpecificTime, testAttributeDefinitionLookUp, testCancelConfirmation, testCategoryLookUp, testConfigParamaterBlanketApprove, testConfigurationTestView, testCopyComponent, testCopyParameter, testCopyParameterType, testCreateDocType, testCreateNewAgenda, testCreateNewCancel, testCreateNewComponent, testCreateNewComponent, testCreateNewParameter, testCreateNewParameterType, testCreateNewPermission, testCreateNewPerson, testCreateNewRRDTravelRequestDestRouting, testCreateNewSearchReturnValueCancelConfirmation, testCreateSampleEDocLite, testDisplayOnlyExternalHelp2, testDisplayOnlyTooltipHelp, testDocTypeLookup, testEditComponent, testEditParameter, testEditParameterType, testEditPermission, testEditRouteRulesDelegation, testExternalHelp2, testFiscalOfficerInfoMaintenanceNew, testIdentityGroupBlanketApprove, testIdentityPermissionBlanketApprove, testIdentityPersonBlanketApprove, testIdentityResponsibilityBlanketApprove, testIdentityRoleBlanketApprove, testLocationCampusBlanketApprove, testLocationCountryBlanketApprove, testLocationCountyBlanketApprove, testLocationPostBlanketApprove, testLocationStateBlanketApprove, testLookUp, testLookUpComponent, testLookUpParameter, testLookUpParameterType, testLookUpPermission, testLookUpPerson, testMissingExternalHelp2, testMissingTooltipHelp, testMultiValueSelectAllPages, testMultiValueSelectAllThisPage, testPageHelp, testPeopleFlow, testReferenceCampusTypeBlanketApprove, testSearchEditCancel, testServerErrorsIT, testServerInfoIT, testServerWarningsIT, testSetUp, testSubCollectionSize, testTermLookUp, testTermLookupAssertions, testTermSpecificationLookupAssertions, testTooltipHelp, testUifTooltip, testValidCharsConstraintIT, testVerifyAddDeleteFiscalOfficerLegacy, testVerifyAddDeleteNoteLegacy, testVerifyAdHocRecipientsLegacy, testVerifyButtonsLegacy, testVerifyConstraintText, testVerifyCopyComponent, testVerifyCopyParameterType, testVerifyDisclosures, testVerifyDocumentOverviewLegacy, testVerifyEditedComponent, testVerifyExpandCollapse, testVerifyFieldsLegacy, testVerifyHeaderFieldsLegacy, testVerifyLookupAddMultipleLinesLegacy, testVerifyModifiedParameter, testVerifyNotesAndAttachments, testVerifyPermission, testVerifyPerson, testVerifyQuickfinderIconsLegacy, testVerifyRouteLog, testVerifySave, testVerifySubsidizedPercentWatermarkLegacy, testViewHelp, testViewHelp2, testWorkFlowDocTypeBlanketApprove, testWorkFlowRouteRulesBlanketApp, testWorkFlowRouteRulesCreateNew, testWorkFlowRouteRulesEditRouteRules, uncheck, uncheckByName, uncheckByXpath, validateErrorImage, verifyRichMessagesValidationAdvancedFunctionality, verifyRichMessagesValidationBasicFunctionality, verifyRichMessagesValidationLettersNumbersValidation, verifyRichMessagesValidationLinkDeclarationsFunctionality, verifyRichMessagesValidationRadioAndCheckBoxGroupFunctionality, waitAndCancelConfirmation, waitAndClick, waitAndClick, waitAndClick, waitAndClick, waitAndClickAdministration, waitAndClickButtonByText, waitAndClickButtonByText, waitAndClickById, waitAndClickById, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByName, waitAndClickByName, waitAndClickByValue, waitAndClickByXpath, waitAndClickByXpath, waitAndClickByXpath, waitAndClickCancel, waitAndClickCloseWindow, waitAndClickCopy, waitAndClickCreateNew, waitAndClickCreateNew, waitAndClickDocSearch, waitAndClickDocSearchTitle, waitAndClickDropDown, waitAndClickEdit, waitAndClickKRAD, waitAndClickLinkContainingText, waitAndClickLogout, waitAndClickLogout, waitAndClickMainMenu, waitAndClickReturnValue, waitAndClickSave, waitAndClickSearch, waitAndClickSearch2, waitAndClickSearch3, waitAndClickSubmit, waitAndClickXMLIngester, waitAndCreateNew, waitAndCreateNew, waitAndGetAttribute, waitAndGetAttributeByName, waitAndGetAttributeByXpath, waitAndGetElementByAttributeValue, waitAndGetElementsByAttributeValue, waitAndGetText, waitAndSelectByName, waitAndType, waitAndType, waitAndType, waitAndTypeById, waitAndTypeByName, waitAndTypeByXpath, waitAndTypeByXpath, waitAreAnyVisible, waitFor, waitFor, waitForDocId, waitForElementPresent, waitForElementPresent, waitForElementPresent, waitForElementPresentByClassName, waitForElementPresentByClassName, waitForElementPresentById, waitForElementPresentById, waitForElementPresentByName, waitForElementPresentByXpath, waitForElementPresentByXpath, waitForElementsPresentByClassName, waitForElementsPresentById, waitForElementsPresentByXpath, waitForElementVisible, waitForElementVisibleBy, waitForElementVisibleById, waitForPageToLoad, waitForTitleToEqualKualiPortalIndex, waitForTitleToEqualKualiPortalIndex, waitIsVisible, waitIsVisible, waitIsVisible, waitIsVisibleByXpath, waitIsVisibleByXpath, waitNotVisible, waitNotVisibleByXpath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FANCY_BOX_CLOSE_XPATH

public static final String FANCY_BOX_CLOSE_XPATH
//div[@class='fancybox-item fancybox-close']

See Also:
Constant Field Values

FANCY_BOX_IFRAME_XPATH

public static final String FANCY_BOX_IFRAME_XPATH
//div[@class='fancybox-item fancybox-close']

See Also:
Constant Field Values

BOOKMARK_URL

public static final String BOOKMARK_URL
/kr-krad/maintenance?methodToCall=start&dataObjectClassName=org.kuali.rice.krad.demo.travel.dataobject.TravelAccount&hideReturnLink=true

See Also:
Constant Field Values

DESCRIPTION_FIELD

public static final String DESCRIPTION_FIELD
Description field

See Also:
Constant Field Values

EXPLANATION_FIELD

public static final String EXPLANATION_FIELD
Explanation field

See Also:
Constant Field Values

ORGANIZATION_DOCUMENT_NUMBER_FIELD

public static final String ORGANIZATION_DOCUMENT_NUMBER_FIELD
Organization document number field

See Also:
Constant Field Values

TRAVEL_ACCOUNT_NAME_FIELD

public static final String TRAVEL_ACCOUNT_NAME_FIELD
Travel account name field

See Also:
Constant Field Values

TRAVEL_ACCOUNT_NUMBER_FIELD

public static final String TRAVEL_ACCOUNT_NUMBER_FIELD
Travel account nUMBER field

See Also:
Constant Field Values

TRAVEL_ACCOUNT_TYPE_CODE_FIELD

public static final String TRAVEL_ACCOUNT_TYPE_CODE_FIELD
Travel account type code field

See Also:
Constant Field Values

SUB_ACCOUNT_FIELD_XPATH

public static final String SUB_ACCOUNT_FIELD_XPATH
Travel sub account field

See Also:
Constant Field Values

SUB_ACCOUNT_NAME_FIELD_XPATH

public static final String SUB_ACCOUNT_NAME_FIELD_XPATH
Travel sub account name field

See Also:
Constant Field Values

SUBSIDIZED_PERCENT_FIELD

public static final String SUBSIDIZED_PERCENT_FIELD
Subsidized percent

See Also:
Constant Field Values

DATE_CREATED_FIELD

public static final String DATE_CREATED_FIELD
Date created.

See Also:
Constant Field Values

FISCAL_OFFICER_ID_FIELD

public static final String FISCAL_OFFICER_ID_FIELD
Fiscal officer ID

See Also:
Constant Field Values
Constructor Detail

DemoTravelAccountMaintenanceNewSmokeTest

public DemoTravelAccountMaintenanceNewSmokeTest()
Method Detail

getBookmarkUrl

public String getBookmarkUrl()
Specified by:
getBookmarkUrl in class SmokeTestBase

navigate

protected void navigate()
                 throws Exception
Specified by:
navigate in class SmokeTestBase
Throws:
Exception

testTravelAccountMaintenanceNew

protected void testTravelAccountMaintenanceNew()
                                        throws Exception
Throws:
Exception

testTravelAccountMaintenanceEditXss

protected void testTravelAccountMaintenanceEditXss()
                                            throws Exception
Throws:
Exception

isAlertPresent

public boolean isAlertPresent()

testDemoTravelAccountMaintenanceNewBookmark

public void testDemoTravelAccountMaintenanceNewBookmark()
                                                 throws Exception
Throws:
Exception

testDemoTravelAccountMaintenanceNewNav

public void testDemoTravelAccountMaintenanceNewNav()
                                            throws Exception
Throws:
Exception


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