|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.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()
|
protected String |
getTemplateDir()
DIR_TMPL |
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)
|
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, setUp, 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
protected String getTemplateDir()
DIR_TMPL
getTemplateDir
in class FreemarkerSTBase
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
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 |