Java Doc for JWebUnitTestStep.java in  » Testing » DDSteps » org » ddsteps » step » jwebunit » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » DDSteps » org.ddsteps.step.jwebunit 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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 $



Field Summary
protected  JWebUnitWebBrowserjWebUnitWebBrowser
    

Constructor Summary
public  JWebUnitTestStep(JWebUnitWebBrowser webBrowser)
     Dependency injection constructor.
public  JWebUnitTestStep()
     Use JWebUnitTestStep.setJWebUnitWebBrowser(JWebUnitWebBrowser) to inject dependecy.

Method Summary
public  voidafterPropertiesSet()
     Checks that the webbrowser is set.
public  JWebUnitWebBrowsergetJWebUnitWebBrowser()
    
public  voidsetJWebUnitWebBrowser(JWebUnitWebBrowser webBrowser)
    
public  voidsetWebBrowser(WebBrowser webBrowser)
    

Field Detail
jWebUnitWebBrowser
protected JWebUnitWebBrowser jWebUnitWebBrowser(Code)
Delegate




Constructor Detail
JWebUnitTestStep
public JWebUnitTestStep(JWebUnitWebBrowser webBrowser)(Code)
Dependency injection constructor. Please expose this one in your subclass.
Parameters:
  webBrowser - The webtester to use.



JWebUnitTestStep
public JWebUnitTestStep()(Code)
Use JWebUnitTestStep.setJWebUnitWebBrowser(JWebUnitWebBrowser) to inject dependecy.




Method Detail
afterPropertiesSet
public void afterPropertiesSet() throws Exception(Code)
Checks that the webbrowser is set.
See Also:   org.springframework.beans.factory.InitializingBean.afterPropertiesSet



getJWebUnitWebBrowser
public JWebUnitWebBrowser getJWebUnitWebBrowser()(Code)
Returns the webBrowser.



setJWebUnitWebBrowser
public void setJWebUnitWebBrowser(JWebUnitWebBrowser webBrowser)(Code)

Parameters:
  webBrowser - The webBrowser to set.



setWebBrowser
public void setWebBrowser(WebBrowser webBrowser)(Code)

See Also:   org.ddsteps.step.web.WebBrowserTestStep.setWebBrowser(org.ddsteps.web.WebBrowser)JWebUnitTestStep.setJWebUnitWebBrowser(JWebUnitWebBrowser)



Fields inherited from org.ddsteps.step.web.WebBrowserTestStep
protected WebBrowser webBrowser(Code)(Java Doc)

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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.