edu.samplu.admin.test
Class XMLIngesterLegacyIT

java.lang.Object
  extended by edu.samplu.common.WebDriverLegacyITBase
      extended by edu.samplu.common.MenuLegacyITBase
          extended by edu.samplu.common.AdminMenuLegacyITBase
              extended by edu.samplu.admin.test.XMLIngesterLegacyIT

public class XMLIngesterLegacyIT
extends AdminMenuLegacyITBase

tests uploads of new users and group

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

Field Summary
 org.junit.rules.TemporaryFolder folder
           
protected  org.apache.log4j.Logger LOG
           
 
Fields inherited from class edu.samplu.common.AdminMenuLegacyITBase
ADMIN_LOCATOR, CREATE_NEW_LOCATOR, LABEL_KUALI_DEFAULT, LABEL_KUALI_KUALI_SYSTEMS
 
Fields inherited from class edu.samplu.common.WebDriverLegacyITBase
DEFAULT_WAIT_SEC, driver, passed, REMOTE_PUBLIC_USER_PROPERTY, REMOTE_PUBLIC_USERPOOL_PROPERTY, testName, user
 
Constructor Summary
XMLIngesterLegacyIT()
           
 
Method Summary
protected  String getLinkLocator()
          TODO when the UpgradedSelenium tests have been converted over, rename this to getLinkText Override to return main menu click selector (e.g.
 String getUserName()
          Override in test to define a user other than admin
 void setUp()
          Setup the WebDriver test, login and load the tested web page
 void testCreateNewCancel()
          tests that a getLinkLocator maintenance document can be cancelled
 void testEditCancel()
          tests that a getLinkLocator maintenance document is created for an edit operation originating from a lookup screen
 void testXMLIngesterSuccessfulFileUpload()
          Based on load user and groups manual tests; dynamically generates user and group file and loads into the xml ingester screen
 
Methods inherited from class edu.samplu.common.AdminMenuLegacyITBase
getCreateNewLinkLocator, getMenuLinkLocator
 
Methods inherited from class edu.samplu.common.MenuLegacyITBase
getTestUrl, gotoCreateNew, gotoMenuLinkLocator, gotoMenuLinkLocator
 
Methods inherited from class edu.samplu.common.WebDriverLegacyITBase
assertElementPresent, assertElementPresentByLinkText, assertElementPresentByName, assertElementPresentByName, assertElementPresentByXpath, assertElementPresentByXpath, assertTextPresent, assertTextPresent, blanketApproveTest, check, checkByName, checkByXpath, checkErrorMessageItem, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, clearText, clearText, clearTextByName, clearTextByXpath, close, colapseExpandByXpath, createAndStartService, expandColapseByXpath, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventByName, fireMouseOverEventByXpath, getAllWindowTitles, getAttribute, getAttributeByName, getAttributeByXpath, getBaseUrlString, getCssCount, getCssCount, getHTML, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByName, getTextByXpath, getTitle, gotoNestedFrame, isElementPresent, isElementPresent, isElementPresentByLinkText, isElementPresentByName, isElementPresentByXpath, isVisible, isVisible, isVisibleByXpath, open, passed, select, selectByName, selectByXpath, selectFrame, selectOption, selectOptionByName, selectOptionByXpath, selectTopFrame, selectWindow, switchToWindow, tearDown, testCancelConfirmation, testCreateNewSearchReturnValueCancelConfirmation, testSearchEditCancel, testVerifyAddDeleteFiscalOfficerLegacy, uncheck, uncheckByName, uncheckByXpath, waitAndCancelConfirmation, waitAndClick, waitAndClick, waitAndClick, waitAndClick, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByName, waitAndClickByName, waitAndClickByXpath, waitAndClickByXpath, waitAndCreateNew, waitAndEdit, waitAndReturnValue, waitAndSearch, waitAndType, waitAndType, waitAndType, waitAndTypeByName, waitAndTypeByXpath, waitAndTypeByXpath, waitFor, waitFor, waitForDocId, waitForElementPresent, waitForElementPresentByName, waitForElementPresentByXpath, waitForElementVisible, waitForPageToLoad, waitForTitleToEqualKualiPortalIndex, waitForTitleToEqualKualiPortalIndex, waitIsVisible, waitIsVisible, waitIsVisibleByXpath, waitNotVisible, waitNotVisibleByXpath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected final org.apache.log4j.Logger LOG

folder

public org.junit.rules.TemporaryFolder folder
Constructor Detail

XMLIngesterLegacyIT

public XMLIngesterLegacyIT()
Method Detail

testCreateNewCancel

public void testCreateNewCancel()
                         throws Exception
Description copied from class: AdminMenuLegacyITBase
tests that a getLinkLocator maintenance document can be cancelled

Overrides:
testCreateNewCancel in class AdminMenuLegacyITBase
Throws:
Exception

testEditCancel

public void testEditCancel()
                    throws Exception
Description copied from class: AdminMenuLegacyITBase
tests that a getLinkLocator maintenance document is created for an edit operation originating from a lookup screen

Overrides:
testEditCancel in class AdminMenuLegacyITBase
Throws:
Exception

getLinkLocator

protected String getLinkLocator()
Description copied from class: MenuLegacyITBase
TODO when the UpgradedSelenium tests have been converted over, rename this to getLinkText Override to return main menu click selector (e.g. "Agenda lookup")

Specified by:
getLinkLocator in class MenuLegacyITBase
Returns:
selenium locator to click on

getUserName

public String getUserName()
Description copied from class: WebDriverLegacyITBase
Override in test to define a user other than admin

Overrides:
getUserName in class WebDriverLegacyITBase
Returns:

setUp

public void setUp()
           throws Exception
Description copied from class: WebDriverLegacyITBase
Setup the WebDriver test, login and load the tested web page

Overrides:
setUp in class WebDriverLegacyITBase
Throws:
Exception

testXMLIngesterSuccessfulFileUpload

public void testXMLIngesterSuccessfulFileUpload()
                                         throws Exception
Based on load user and groups manual tests; dynamically generates user and group file and loads into the xml ingester screen

Throws:
Exception


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