|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.samplu.common.WebDriverLegacyITBase
edu.samplu.common.FreemarkerSTBase
edu.samplu.admin.test.XMLIngesterAbstractSmokeTestBase
public abstract class XMLIngesterAbstractSmokeTestBase
Tests uploads of new users and group.
Field Summary | |
---|---|
static String |
BOOKMARK_URL
http://env12.rice.kuali.org/portal.do?channelTitle=XML%20Ingester&channelUrl=http://env12.rice.kuali.org/kew/../core/Ingester.do |
Fields inherited from class edu.samplu.common.FreemarkerSTBase |
---|
cfg, LOG |
Constructor Summary | |
---|---|
XMLIngesterAbstractSmokeTestBase()
|
Method Summary | |
---|---|
protected List<File> |
buildFileUploadList()
|
String |
getTestUrl()
Nav tests start at ITUtil.PORTAL . |
String |
getUserName()
"admin" xml ingestion requires admin permissions. |
protected void |
navigate(Failable failable)
go to the getMenuLinkLocator() Menu and click the getLinkLocator() |
protected abstract File |
newTempFile(String name)
|
void |
setUp()
Setup the WebDriver properties, test, and login WebDriverUtil.determineUser(String)
WebDriverUtil.setUp(String, String, String, org.junit.rules.TestName) |
protected void |
testIngestion(Failable failable)
Based on load user and groups manual tests; dynamically generates user and group file and loads into the xml ingester screen |
protected void |
testIngestionBookmark(Failable failable)
|
protected void |
testIngestionNav(Failable failable)
Navigate to the page under test and call testIngestion(edu.samplu.common.Failable) |
Methods inherited from class edu.samplu.common.FreemarkerSTBase |
---|
ftlWrite, loadProperties, systemPropertiesOverride, writeTemplateToFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BOOKMARK_URL
Constructor Detail |
---|
public XMLIngesterAbstractSmokeTestBase()
Method Detail |
---|
protected abstract File newTempFile(String name) throws IOException
name
- of temp file to create
IOException
public String getTestUrl()
ITUtil.PORTAL
. Bookmark Tests should override and return BOOKMARK_URL
Navigation tests should return ITUtil.PORTAL.
Bookmark tests should return BOOKMARK_URL.
getTestUrl
in class WebDriverLegacyITBase
public String getUserName()
WebDriverLegacyITBase.REMOTE_PUBLIC_USER_PROPERTY
getUserName
in class WebDriverLegacyITBase
protected void navigate(Failable failable) throws Exception
Exception
public void setUp() throws Exception
WebDriverLegacyITBase
WebDriverUtil.determineUser(String)
WebDriverUtil.setUp(String, String, String, org.junit.rules.TestName)
setUp
in class WebDriverLegacyITBase
Exception
protected void testIngestionNav(Failable failable) throws Exception
testIngestion(edu.samplu.common.Failable)
failable
- Failable
Exception
protected void testIngestionBookmark(Failable failable) throws Exception
Exception
protected void testIngestion(Failable failable) throws Exception
Exception
protected List<File> buildFileUploadList() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |