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, assertElementPresentByName, assertElementPresentByName, assertElementPresentByXpath, assertElementPresentByXpath, assertTextPresent, assertTextPresent, blanketApproveTest, check, checkByName, checkByXpath, checkErrorMessageItem, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, clearText, clearTextByName, clearTextByXpath, colapseExpandByXpath, createAndStartService, expandColapseByXpath, fireEvent, fireEvent, fireMouseOverEvent, fireMouseOverEventByName, fireMouseOverEventByXpath, getAttribute, getAttributeByName, getAttributeByXpath, getBaseUrlString, getCssCount, getCssCount, getHTML, getSelectOptions, getSelectOptionsByName, getSelectOptionsByXpath, getSessionId, getText, getText, getTextByName, getTextByXpath, getTitle, getUserName, isElementPresent, isElementPresent, isElementPresentByName, isElementPresentByXpath, isVisible, isVisible, isVisibleByXpath, open, passed, select, selectByName, selectByXpath, selectFrame, selectTopFrame, selectWindow, setUp, switchToWindow, tearDown, uncheck, uncheckByName, uncheckByXpath, waitAndClick, waitAndClick, waitAndClick, waitAndClick, waitAndClickByLinkText, waitAndClickByLinkText, waitAndClickByName, waitAndClickByName, waitAndClickByXpath, waitAndClickByXpath, 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-2012 The Kuali Foundation. All Rights Reserved.