|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.flexiblewebsolutions.xdriveunit.XDriveTestCase com.flexiblewebsolutions.xdriveunit.WebXDriveTestCase com.flexiblewebsolutions.xdriveunit.LoadWebXDriveTestCase
public abstract class LoadWebXDriveTestCase
XML Test Case that can be used to Load Test Web applications.
Field Summary |
---|
Fields inherited from class com.flexiblewebsolutions.xdriveunit.WebXDriveTestCase |
---|
_WebClient, _WebTester, HTMLUNIT, JWEBUNIT |
Fields inherited from class com.flexiblewebsolutions.xdriveunit.XDriveTestCase |
---|
_TestInput, _ThreadName |
Constructor Summary | |
---|---|
LoadWebXDriveTestCase(java.lang.String pName,
java.lang.StringBuffer pTestInput,
java.lang.StringBuffer pTestOptions,
java.lang.String pThreadName)
Initialize the LoadWebXMLTestCase object with required parameters. |
Method Summary | |
---|---|
protected void |
clickButton(java.lang.String pButtonID,
java.lang.String pButtonDesc)
Clicks on a button after a set amount of time, records time taken for link to return |
protected void |
clickLinkWithImage(java.lang.String pLinkImg,
java.lang.String pLinkDesc)
Clicks on a button after a set amount of time, records time taken for link to return |
protected void |
clickLinkWithText(java.lang.String pLinkText,
int pIndex,
java.lang.String pLinkDesc)
Clicks on a button after a set amount of time, records time taken for link to return |
protected void |
clickLinkWithText(java.lang.String pLinkText,
java.lang.String pLinkDesc)
Clicks on a button after a set amount of time, records time taken for link to return |
java.lang.String |
getClassName()
|
java.io.File |
getTestDirectory()
|
java.io.File |
getTestTmpDirectory()
|
protected void |
setUp()
|
protected void |
submit(java.lang.String pSubmitDesc)
Clicks on a button after a set amount of time, records time taken for link to return |
protected void |
submit(java.lang.String pFormName,
java.lang.String pSubmitDesc)
Clicks on a button after a set amount of time, records time taken for link to return |
void |
tearDown()
|
Methods inherited from class com.flexiblewebsolutions.xdriveunit.WebXDriveTestCase |
---|
assertTextPresent, clickElementById, clickLink, dumpResponseToFile, dumpResponseToString, getTestFramework, setCurrentForm |
Methods inherited from class com.flexiblewebsolutions.xdriveunit.XDriveTestCase |
---|
checkBooleanParameter, getFile, getTestOptions, init, init, setupTestOptions |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LoadWebXDriveTestCase(java.lang.String pName, java.lang.StringBuffer pTestInput, java.lang.StringBuffer pTestOptions, java.lang.String pThreadName)
XDriveTestCase:XDriveTestCase(String pName, StringBuffer
pTestInput, StringBuffer pTestOptions, String pThreadName)
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class WebXDriveTestCase
java.lang.Exception
TestCase.setUp()
public void tearDown() throws java.lang.Exception
tearDown
in class WebXDriveTestCase
java.lang.Exception
TestCase.tearDown()
protected void clickButton(java.lang.String pButtonID, java.lang.String pButtonDesc)
clickButton
in class WebXDriveTestCase
pButtonID
- -
ID of linkpButtonDesc
- -
Text description of linkprotected void clickLinkWithImage(java.lang.String pLinkImg, java.lang.String pLinkDesc)
clickLinkWithImage
in class WebXDriveTestCase
pLinkImg
- - Src attribute of imagepLinkDesc
- - Description of action for loggingWebXDriveTestCase.clickLinkWithImage(java.lang.String,
java.lang.String)
protected void clickLinkWithText(java.lang.String pLinkText, int pIndex, java.lang.String pLinkDesc)
clickLinkWithText
in class WebXDriveTestCase
pLinkText
- - Link text as it appears to user.pIndex
- - Numbered occurence in page if more than one LinkpLinkDesc
- - Description of action for loggingWebXDriveTestCase.clickLinkWithText(java.lang.String,
int, java.lang.String)
protected void clickLinkWithText(java.lang.String pLinkText, java.lang.String pLinkDesc)
clickLinkWithText
in class WebXDriveTestCase
pLinkText
- - Link text as it appears to user.pLinkDesc
- - Description of action for loggingWebXDriveTestCase.clickLinkWithText(java.lang.String,
java.lang.String)
protected void submit(java.lang.String pFormName, java.lang.String pSubmitDesc)
submit
in class WebXDriveTestCase
pFormName
- - Name of form to submitpSubmitDesc
- - Description of action for loggingWebXDriveTestCase.submit(java.lang.String,
java.lang.String)
protected void submit(java.lang.String pSubmitDesc)
submit
in class WebXDriveTestCase
pSubmitDesc
- - Description of action for loggingWebXDriveTestCase.submit(java.lang.String)
public java.lang.String getClassName()
public java.io.File getTestDirectory()
public java.io.File getTestTmpDirectory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |