edu.sampleu.admin
Class DocumentSearchUrlParametersAft

java.lang.Object
  extended by org.kuali.rice.testtools.selenium.WebDriverITBase
      extended by edu.sampleu.admin.DocumentSearchUrlParametersAft

public class DocumentSearchUrlParametersAft
extends WebDriverITBase

Tests docsearch url parameters

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

Field Summary
protected static Map<String,String> ADVANCED_FIELDS
           
protected static Map<String,String> BASIC_FIELDS
           
protected static Map<String,String> CORE_FIELDS
           
 
Fields inherited from class org.kuali.rice.testtools.selenium.WebDriverITBase
driver
 
Constructor Summary
DocumentSearchUrlParametersAft()
           
 
Method Summary
protected  void assertInputPresence(Map<String,String> fields, boolean present)
           
protected  void assertInputValues(Map<String,String> fields)
           
protected  void assertSearchDetailMode(org.openqa.selenium.WebElement e, boolean advanced)
           
protected  org.openqa.selenium.WebElement findModeToggleButton()
           
protected  String getDocSearchURL(String params)
           
 String getTestUrl()
           
 void testAdvancedSearchFields()
           
 void testAdvancedSearchFieldsAndExecuteSearch()
           
 void testAdvancedSearchFieldsAndExecuteSearchWithHiddenCriteria()
           
 void testAdvancedSearchMode()
           
 void testBasicSearchFields()
           
 void testBasicSearchFieldsAndExecuteSearch()
           
 void testBasicSearchFieldsAndExecuteSearchWithHiddenCriteria()
           
 void testBasicSearchMode()
           
 void testCriteriaDisabled()
           
 void testHeaderBarDisabled()
           
 void testSupplyingSavedSearchNameDoesNothing()
          Supplying a saveName does not result in the saved search getting loaded.
 
Methods inherited from class org.kuali.rice.testtools.selenium.WebDriverITBase
acceptAlert, assertPopUpWindowUrl, checkForIncidentReport, checkForIncidentReport, checkForIncidentReport, clearText, clearTextByName, clearTextByXpath, createAndStartService, dismissAlert, fail, getAttribute, getAttributeByName, getAttributeByXpath, getEval, getUserName, isElementPresent, isElementPresentQuick, login, setUp, stopService, switchWindow, tearDown, waitAndClick, waitAndClick, waitAndClick, waitAndClick, waitAndClickByLinkText, waitAndClickByLinkText, waitAndType, waitAndType, waitAndTypeByName, waitAndTypeByXpath, waitAndTypeByXpath, waitFor, waitFor, waitForElementPresent, waitForElementPresentByName, waitForElementPresentByXpath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CORE_FIELDS

protected static final Map<String,String> CORE_FIELDS

BASIC_FIELDS

protected static final Map<String,String> BASIC_FIELDS

ADVANCED_FIELDS

protected static final Map<String,String> ADVANCED_FIELDS
Constructor Detail

DocumentSearchUrlParametersAft

public DocumentSearchUrlParametersAft()
Method Detail

getTestUrl

public String getTestUrl()
Specified by:
getTestUrl in class WebDriverITBase

getDocSearchURL

protected String getDocSearchURL(String params)

findModeToggleButton

protected org.openqa.selenium.WebElement findModeToggleButton()

assertSearchDetailMode

protected void assertSearchDetailMode(org.openqa.selenium.WebElement e,
                                      boolean advanced)

assertInputValues

protected void assertInputValues(Map<String,String> fields)

assertInputPresence

protected void assertInputPresence(Map<String,String> fields,
                                   boolean present)

testAdvancedSearchFields

public void testAdvancedSearchFields()
                              throws InterruptedException
Throws:
InterruptedException

testAdvancedSearchFieldsAndExecuteSearch

public void testAdvancedSearchFieldsAndExecuteSearch()
                                              throws InterruptedException
Throws:
InterruptedException

testAdvancedSearchFieldsAndExecuteSearchWithHiddenCriteria

public void testAdvancedSearchFieldsAndExecuteSearchWithHiddenCriteria()
                                                                throws InterruptedException
Throws:
InterruptedException

testAdvancedSearchMode

public void testAdvancedSearchMode()

testBasicSearchFields

public void testBasicSearchFields()
                           throws InterruptedException
Throws:
InterruptedException

testBasicSearchFieldsAndExecuteSearch

public void testBasicSearchFieldsAndExecuteSearch()
                                           throws InterruptedException
Throws:
InterruptedException

testBasicSearchFieldsAndExecuteSearchWithHiddenCriteria

public void testBasicSearchFieldsAndExecuteSearchWithHiddenCriteria()
                                                             throws InterruptedException
Throws:
InterruptedException

testBasicSearchMode

public void testBasicSearchMode()
                         throws InterruptedException
Throws:
InterruptedException

testCriteriaDisabled

public void testCriteriaDisabled()
                          throws InterruptedException
Throws:
InterruptedException

testHeaderBarDisabled

public void testHeaderBarDisabled()
                           throws InterruptedException
Throws:
InterruptedException

testSupplyingSavedSearchNameDoesNothing

public void testSupplyingSavedSearchNameDoesNothing()
                                             throws InterruptedException
Supplying a saveName does not result in the saved search getting loaded.

Throws:
InterruptedException


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.