edu.samplu.common
Class MenuITBase

java.lang.Object
  extended by edu.samplu.common.UpgradedSeleniumITBase
      extended by edu.samplu.common.MenuITBase
Direct Known Subclasses:
AdminMenuBlanketAppITBase, AdminMenuITBase, KradMenuITBase, MainMenuLookupITBase

Deprecated. Use WebDriverITBase for new tests.

public abstract class MenuITBase
extends UpgradedSeleniumITBase

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

Field Summary
 
Fields inherited from class edu.samplu.common.UpgradedSeleniumITBase
driver
 
Constructor Summary
MenuITBase()
          Deprecated.  
 
Method Summary
protected abstract  String getCreateNewLinkLocator()
          Deprecated. Override to return main menu click selector (e.g.
protected abstract  String getLinkLocator()
          Deprecated. Override to return main menu click selector (e.g.
protected abstract  String getMenuLinkLocator()
          Deprecated. Override to return menu click selector (e.g.
 String getTestUrl()
          Deprecated. Returns the URL to be used with this test
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.UpgradedSeleniumITBase
assertDocFinal, assertElementPresent, assertTextPresent, assertTextPresent, blanketApproveTest, check, checkErrorMessageItem, checkForIncidentReport, checkForIncidentReport, chooseCancelOnNextConfirmation, close, colapseExpand, expandColapse, fireEvent, focus, focusAndType, getAllWindowTitles, getAttribute, getBaseUrlString, getConfirmation, getCssCount, getEval, getLocation, getSelectedLabel, getSelectOptions, getText, getTitle, getUserName, getValue, isElementPresent, isTextPresent, isVisible, keyDown, keyPress, keyUp, mouseOut, mouseOver, open, removeAllSelections, select, selectFrame, selectWindow, setSpeed, setUp, tearDown, uncheck, waitAndClick, waitAndClick, waitAndType, waitAndType, waitForDocId, waitForElementPresent, waitForElementPresent, waitForElementVisible, waitForPageToLoad, waitForPageToLoad, waitForPageToLoad50000, waitForTitleToEqualKualiPortalIndex, waitForTitleToEqualKualiPortalIndex, waitIsVisible, waitNotVisible, windowFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuITBase

public MenuITBase()
Deprecated. 
Method Detail

getTestUrl

public String getTestUrl()
Deprecated. 
Description copied from class: UpgradedSeleniumITBase
Returns the URL to be used with this test

Specified by:
getTestUrl in class UpgradedSeleniumITBase
Returns:
URL of the test

getMenuLinkLocator

protected abstract String getMenuLinkLocator()
Deprecated. 
Override to return menu click selector (e.g. "link=Main Menu")

Returns:
selenium locator to click on

getLinkLocator

protected abstract String getLinkLocator()
Deprecated. 
Override to return main menu click selector (e.g. "link=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-2012 The Kuali Foundation. All Rights Reserved.