edu.samplu.krad.configview
Class HelpIT

java.lang.Object
  extended by edu.samplu.common.UpgradedSeleniumITBase
      extended by edu.samplu.krad.configview.HelpIT

public class HelpIT
extends UpgradedSeleniumITBase

Test the help widget

Selenium RC does not allow us to test the external help popup windows due to an error on JavaScrips window.close method when selenium is running. To test the external help we use the HelpIT2 test which utilizes WebDriver. Unfortunately due to a WebDriver bug/feature we can't test the tooltip help there.

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

Field Summary
 
Fields inherited from class edu.samplu.common.UpgradedSeleniumITBase
driver
 
Constructor Summary
HelpIT()
           
 
Method Summary
 String getTestUrl()
          Returns the URL to be used with this test
 void testDisplayOnlyTooltipHelp()
          Test the tooltip help on the sub-section and fields that are display only
 void testMissingTooltipHelp()
          Test the tooltip help on the section and fields with no content
 void testPageHelp()
          Test the tooltip and external help on the page
 void testTooltipHelp()
          Test the tooltip help on the section and fields
 void testViewHelp()
          Test the tooltip and external help on the view
 
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

HelpIT

public HelpIT()
Method Detail

getTestUrl

public String getTestUrl()
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

testViewHelp

public void testViewHelp()
                  throws Exception
Test the tooltip and external help on the view

Throws:
Exception

testPageHelp

public void testPageHelp()
                  throws Exception
Test the tooltip and external help on the page

Throws:
Exception

testTooltipHelp

public void testTooltipHelp()
                     throws Exception
Test the tooltip help on the section and fields

Throws:
Exception

testDisplayOnlyTooltipHelp

public void testDisplayOnlyTooltipHelp()
                                throws Exception
Test the tooltip help on the sub-section and fields that are display only

Throws:
Exception

testMissingTooltipHelp

public void testMissingTooltipHelp()
                            throws Exception
Test the tooltip help on the section and fields with no content

Throws:
Exception


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