edu.samplu.common
Class MenuLegacyITBase

java.lang.Object
  extended by edu.samplu.common.WebDriverLegacyITBase
      extended by edu.samplu.common.MenuLegacyITBase
Direct Known Subclasses:
AdminMenuBlanketAppLegacyITBase, AdminMenuLegacyITBase, KradMenuLegacyITBase, MainMenuLookupLegacyITBase

Deprecated. use WebDriverITBase

public abstract class MenuLegacyITBase
extends WebDriverLegacyITBase

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

Field Summary
 
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
MenuLegacyITBase()
          Deprecated.  
 
Method Summary
protected abstract  String getCreateNewLinkLocator()
          Deprecated. Override to return main menu click selector (e.g.
protected abstract  String getLinkLocator()
          Deprecated. TODO when the UpgradedSelenium tests have been converted over, rename this to getLinkText Override to return main menu click selector (e.g.
protected abstract  String getMenuLinkLocator()
          Deprecated. TODO when the UpgradedSelenium tests have been converted over, rename this to getMenuLinkText Override to return menu click selector (e.g.
 String getTestUrl()
          Deprecated.  
protected  void gotoCreateNew()
          Deprecated. go to having clicked create new of the getLinkLocator()
protected  void gotoMenuLinkLocator()
          Deprecated.  
protected  void gotoMenuLinkLocator(String message)
          Deprecated. go to the getMenuLinkLocator() Menu and click the getLinkLocator()
 
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, getUserName, gotoNestedFrame, isElementPresent, isElementPresent, isElementPresentByLinkText, isElementPresentByName, isElementPresentByXpath, isVisible, isVisible, isVisibleByXpath, open, passed, select, selectByName, selectByXpath, selectFrame, selectOption, selectOptionByName, selectOptionByXpath, selectTopFrame, selectWindow, setUp, 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
 

Constructor Detail

MenuLegacyITBase

public MenuLegacyITBase()
Deprecated. 
Method Detail

getTestUrl

public String getTestUrl()
Deprecated. 
Specified by:
getTestUrl in class WebDriverLegacyITBase

getMenuLinkLocator

protected abstract String getMenuLinkLocator()
Deprecated. 
TODO when the UpgradedSelenium tests have been converted over, rename this to getMenuLinkText Override to return menu click selector (e.g. "Main Menu")

Returns:
selenium locator to click on

getLinkLocator

protected abstract String getLinkLocator()
Deprecated. 
TODO when the UpgradedSelenium tests have been converted over, rename this to getLinkText Override to return main menu click selector (e.g. "Agenda lookup")

Returns:
selenium locator to click on

getCreateNewLinkLocator

protected abstract String getCreateNewLinkLocator()
Deprecated. 
Override to return main menu click selector (e.g. "//img[@alt='create new']")

Returns:
selenium locator to click on

gotoMenuLinkLocator

protected void gotoMenuLinkLocator(String message)
                            throws Exception
Deprecated. 
go to the getMenuLinkLocator() Menu and click the getLinkLocator()

Throws:
Exception

gotoMenuLinkLocator

protected void gotoMenuLinkLocator()
                            throws Exception
Deprecated. 
Throws:
Exception

gotoCreateNew

protected void gotoCreateNew()
                      throws Exception
Deprecated. 
go to having clicked create new of the getLinkLocator()

Throws:
Exception


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