| org.ddsteps.step.web.WebBrowserTestStep org.ddsteps.step.jwebunit.JWebUnitTestStep
JWebUnitTestStep | abstract public class JWebUnitTestStep extends WebBrowserTestStep implements InitializingBean(Code) | | Subclass this step to build you own test steps based on JWebUnit.
If you do not need access to JWebUnit internal stuff, like the TestContext
etc., the you are better off using the
WebBrowserTestStep .
author: Adam version: $Id: JWebUnitTestStep.java,v 1.3 2006/05/01 15:34:51 adamskogman Exp $ |
JWebUnitTestStep | public JWebUnitTestStep(JWebUnitWebBrowser webBrowser)(Code) | | Dependency injection constructor. Please expose this one in your
subclass.
Parameters: webBrowser - The webtester to use. |
afterPropertiesSet | public void afterPropertiesSet() throws Exception(Code) | | Checks that the webbrowser is set.
See Also: org.springframework.beans.factory.InitializingBean.afterPropertiesSet |
setJWebUnitWebBrowser | public void setJWebUnitWebBrowser(JWebUnitWebBrowser webBrowser)(Code) | | Parameters: webBrowser - The webBrowser to set. |
Methods inherited from org.ddsteps.step.web.WebBrowserTestStep | public void afterPropertiesSet() throws Exception(Code)(Java Doc) public void assertButtonDisabled(String buttonId)(Code)(Java Doc) public void assertButtonEnabled(String buttonId)(Code)(Java Doc) public void assertButtonNotPresent(String buttonId)(Code)(Java Doc) public void assertButtonPresent(String buttonId)(Code)(Java Doc) public void assertCheckboxNotSelected(String checkBoxName)(Code)(Java Doc) public void assertCheckboxSelected(String checkBoxName)(Code)(Java Doc) public void assertCookiePresent(String cookieName)(Code)(Java Doc) public void assertCookieValueEquals(String cookieName, String expectedValue)(Code)(Java Doc) public void assertElementNotPresent(String anID)(Code)(Java Doc) public void assertElementPresent(String anID)(Code)(Java Doc) public void assertFormElementEmpty(String formElementName)(Code)(Java Doc) public void assertFormElementEquals(String formElementName, String expectedValue)(Code)(Java Doc) public void assertFormElementNotPresent(String formElementName)(Code)(Java Doc) public void assertFormElementNotPresentOrDisabled(String formElementName)(Code)(Java Doc) public void assertFormElementNotPresentWithLabel(String formElementLabel)(Code)(Java Doc) public void assertFormElementPresent(String formElementName)(Code)(Java Doc) public void assertFormElementPresentAndEnabled(String formElementName)(Code)(Java Doc) public void assertFormElementPresentWithLabel(String formElementLabel)(Code)(Java Doc) public void assertFormNotPresent()(Code)(Java Doc) public void assertFormNotPresent(String nameOrID)(Code)(Java Doc) public void assertFormPresent()(Code)(Java Doc) public void assertFormPresent(String nameOrID)(Code)(Java Doc) public void assertFramePresent(String frameName)(Code)(Java Doc) public void assertKeyInTable(String tableSummaryOrId, String key)(Code)(Java Doc) public void assertKeyNotInTable(String tableSummaryOrId, String key)(Code)(Java Doc) public void assertKeyNotPresent(String key)(Code)(Java Doc) public void assertKeyPresent(String key)(Code)(Java Doc) public void assertKeysInTable(String tableSummaryOrId, String[] keys)(Code)(Java Doc) public void assertLinkNotPresent(String linkId)(Code)(Java Doc) public void assertLinkNotPresentWithImage(String imageFileName)(Code)(Java Doc) public void assertLinkNotPresentWithText(String linkText, int index)(Code)(Java Doc) public void assertLinkNotPresentWithText(String linkText)(Code)(Java Doc) public void assertLinkPresent(String linkId)(Code)(Java Doc) public void assertLinkPresentWithImage(String imageFileName)(Code)(Java Doc) public void assertLinkPresentWithText(String linkText, int index)(Code)(Java Doc) public void assertLinkPresentWithText(String linkText)(Code)(Java Doc) public void assertOptionEquals(String selectName, String option)(Code)(Java Doc) public void assertOptionIsSelectedByValue(String selectId, String selectedValue)(Code)(Java Doc) public void assertOptionValuePresent(String selectId, String value)(Code)(Java Doc) public void assertOptionValuesEqual(String selectName, String[] expectedValues)(Code)(Java Doc) public void assertOptionValuesNotEqual(String selectName, String[] optionValues)(Code)(Java Doc) public void assertOptionsEqual(String selectName, String[] expectedOptions)(Code)(Java Doc) public void assertOptionsNotEqual(String selectName, String[] expectedOptions)(Code)(Java Doc) public void assertRadioOptionNotPresent(String name, String radioOption)(Code)(Java Doc) public void assertRadioOptionNotSelected(String name, String radioOption)(Code)(Java Doc) public void assertRadioOptionPresent(String name, String radioOption)(Code)(Java Doc) public void assertRadioOptionSelected(String name, String radioOption)(Code)(Java Doc) public void assertSubmitButtonNotPresent(String buttonName)(Code)(Java Doc) public void assertSubmitButtonPresent(String buttonName)(Code)(Java Doc) public void assertSubmitButtonValue(String buttonName, String expectedValue)(Code)(Java Doc) public void assertTableEquals(String tableSummaryOrId, ExpectedTable expectedTable)(Code)(Java Doc) public void assertTableEquals(String tableSummaryOrId, String[][] expectedCellValues)(Code)(Java Doc) public void assertTableNotPresent(String tableSummaryOrId)(Code)(Java Doc) public void assertTablePresent(String tableSummaryOrId)(Code)(Java Doc) public void assertTableRowsEqual(String tableSummaryOrId, int startRow, ExpectedTable expectedTable)(Code)(Java Doc) public void assertTableRowsEqual(String tableSummaryOrId, int startRow, String[][] expectedCellValues)(Code)(Java Doc) public void assertTextInElement(String elementID, String text)(Code)(Java Doc) public void assertTextInElement(String elementId, String[] texts)(Code)(Java Doc) public void assertTextInTable(String tableSummaryOrId, String text)(Code)(Java Doc) public void assertTextInTable(String tableSummaryOrId, String[] text)(Code)(Java Doc) public void assertTextNotInElement(String elementID, String text)(Code)(Java Doc) public void assertTextNotInTable(String tableSummaryOrId, String text)(Code)(Java Doc) public void assertTextNotInTable(String tableSummaryOrId, String[] text)(Code)(Java Doc) public void assertTextNotPresent(String text)(Code)(Java Doc) public void assertTextPresent(String text)(Code)(Java Doc) public void assertTitleEquals(String title)(Code)(Java Doc) public void assertTitleEqualsKey(String titleKey)(Code)(Java Doc) public void assertWindowPresent(String windowName)(Code)(Java Doc) public void beginAt(String relativeURL)(Code)(Java Doc) public void checkCheckbox(String checkBoxName, String value)(Code)(Java Doc) public void checkCheckbox(String checkBoxName)(Code)(Java Doc) public void clickButton(String buttonId)(Code)(Java Doc) public void clickLink(String linkId)(Code)(Java Doc) public void clickLinkWithImage(String imageFileName)(Code)(Java Doc) public void clickLinkWithText(String linkText, int index)(Code)(Java Doc) public void clickLinkWithText(String linkText)(Code)(Java Doc) public void clickLinkWithTextAfterText(String linkText, String labelText)(Code)(Java Doc) public void endTrail()(Code)(Java Doc) public String getDefaultOption(String selectName)(Code)(Java Doc) public String getMessage(String key)(Code)(Java Doc) public String[] getOptionValues(String selectId)(Code)(Java Doc) public String getSelectedOptionValue(String selectName)(Code)(Java Doc) public WebBrowser getWebBrowser()(Code)(Java Doc) public void gotoFrame(String frameName)(Code)(Java Doc) public void gotoPage(String url)(Code)(Java Doc) public void gotoRootWindow()(Code)(Java Doc) public void gotoWindow(String windowName)(Code)(Java Doc) public void reset()(Code)(Java Doc) public void selectOption(String selectName, String option)(Code)(Java Doc) public void selectOptionByValue(String selectId, String value)(Code)(Java Doc) public void setFormElement(String formElementName, String value)(Code)(Java Doc) public void setFormElement(String formElementName, String[] values)(Code)(Java Doc) public void setWebBrowser(WebBrowser webBrowser)(Code)(Java Doc) public void setWorkingForm(String nameOrId)(Code)(Java Doc) public void setWorkingFormByFieldName(String fieldName)(Code)(Java Doc) public void setWorkingFormByFieldNameAndValue(String fieldName, String value)(Code)(Java Doc) public void startTrail(String trailName)(Code)(Java Doc) public void submit()(Code)(Java Doc) public void submit(String buttonName)(Code)(Java Doc) public void submit(String buttonName, String value)(Code)(Java Doc) public void uncheckCheckbox(String checkBoxName, String value)(Code)(Java Doc) public void uncheckCheckbox(String checkBoxName)(Code)(Java Doc) public void writePage(String filename)(Code)(Java Doc) public void writeTrail(String pageName)(Code)(Java Doc)
|
|
|