Changes Report

Release History

VersionDateDescription
2.0unknow
1.3july 28, 2006
1.3-RC2july 07, 2006
1.3-RC1june 27, 2006After all these great changes, we need a RC.
1.2june 13, 2004The long awaited release
1.1
1.0
RC2
RC1


Release 2.0 - unknow

TypeChangesBy
addAdd assertJavascriptAlertPresent method to check presence of a Javascript alert.Julien Henry
updateRefactor TestingEngineRegistry: now fully static and use JDK 1.5. It is now easier to add a custom plugin in registry.Julien Henry

Release 1.3 - july 28, 2006

TypeChangesBy
removeassertFormParameterValue is now deprecated. Please use more specific method, like assertTextFieldEquals, assertSelectedValueEqual, ... Thanks to Fred Burlet.Julien Henry
addAdd assertHiddenFieldPresent method to check presence of an hidden field with given value. Thanks to Fred Burlet.Julien Henry
addAdd assertTextFieldEquals method to check content of a text field (text input, password input, textarea). Thanks to Fred Burlet.Julien Henry
fixsetTextField is now working with TextArea. Thanks to Fred Burlet.Julien Henry
fixCurrent form was saved but not reseted when page content change. Thanks to Mark Chaimungkalanont.Julien Henry

Release 1.3-RC2 - july 07, 2006

TypeChangesBy
addShow the getTable() method in WebTestCase to allow custom assertions. Thanks to Tetyana Gimgina.Julien Henry
addIntroduce the setFormElement() back as a deprecated method that wraps setTextField(). Fixes 1517851. Thanks to Tetyana Gimgina.Julien Henry
updateUpdate to HtmlUnit 1.9.Julien Henry
addAllow selection of forms with same name (with index). Add setWorkingForm(String nameOrId, int index) to the API. Fixes 1515297. Thanks to Jeffrey W. Badorek.Julien Henry

Release 1.3-RC1 - june 27, 2006

TypeChangesBy
addAdded ability to navigate to windows / assert presence by window id. Thanks to Buhi Mume.Julien Henry
removeRemove HttpUnit testing engine.Julien Henry
updateRefactoring of Table assertions to handle perfectly colspan and rowspan.Julien Henry
addAdded XPath methods to core API.Julien Henry
updateSplit jWebUnit in modules: one for the core (jWebUnit API), one for the tests (that all plugins should pass), and one for each plugin (currently HtmlUnit). This way, for example, when you want to use one plugin, you don't have to include all others dependencies.Julien Henry
updateUpdated to Jetty 6 for running tests. Need less dependencies and run faster.Julien Henry
addAdded HtmlUnitDialog, that provide better Javascript support.Julien Henry
addAdded Maven 2 support. There are many reports available on the website.Julien Henry
updateAdded new method to clickButtonWithText. I believe it is useful addition to existing functionality as we already have assertButtonPresentWithText(). Fixes 1064807.Nicholas Neuberger
addIntegrated patch for multiple submit buttons with different values. API change - assertSubmitButtonValue(button, value) now assertSubmitBu ttonPresent(button, value). Fixes 800660. Thanks to Dragos Manolescu.Jim Weaver
addAssert button (not) present with text added. Fixes 1005396. Thanks to John Evans.Martijn Dashorst
addAdded ability to navigate to windows / assert presence by window title. Fixes 999600.Jim Weaver
addAdded assert select option present / not present. Fixes 979856. Thanks to Kenny MacLeod.Jim Weaver
addonchange event bug fixed / test added. Fixes 981534.Jim Weaver
fixMemory leak in WebTestCase. Note: tester is no longer allocated at constructor time, but just before 'setUp' is called. Fixes 972992. Thanks to Budi Boentaran.Martijn Dashorst
updatebetter support subclassing of WebTestCase Fixes 735087. Thanks to Oliver Haid.Vivek Venugopalan

Release 1.2 - june 13, 2004

TypeChangesBy
addassertTextNotInElement method additionJim Weaver
updateform assertion failure messages more accurateJim Weaver
addassertFormNotPresent method addition Fixes .Wilkes Joiner
addgoto a page directly by url Fixes 724337. Thanks to Alex Chaffee.
addsupport for clicking links by text when there are multiple links with same text on page Thanks to justin sampson.
addsupport for multiple checkboxes with different values Fixes 627735.Wilkes Joiner
add.Martijn Dashorst
updateUpgraded all dependencies (httpunit, rhino, nekohtml, xerces, junit) to their newest released version.Martijn Dashorst
addAdded support for cookies. Fixes 715841. Thanks to Vivek Venugopalan.Jim Weaver
fixWrong text in Assert Fixes 856218. Thanks to Roberto Cosenza.Vivek Venugopalan
fixquickstart.html setBaseUrl is mistyped Fixes 908440. Thanks to Vasile Alaiba.Vivek Venugopalan
fixassertFormElementPresent fails when a form is in an IFRAME Fixes 910242. Thanks to Hien Nguyen.Vivek Venugopalan
fixassertLinkPresentWithImage("foo") fails if foo isn't first Fixes 908372.Vivek Venugopalan
fixbroken link in jwebunit-1.1.1 set of files Fixes 918278. Thanks to Jim Cloughley.Vivek Venugopalan
fixprevent js files from being returned as response contentJim Weaver
fixFork enabled for ant-build compile. Fixes 727614. Thanks to Brad Clarke.Jim Weaver
fixForm submit overload for forms with multiple submit buttons. Fixes 745868. Thanks to Charles Blaxland.Jim Weaver

Release 1.1 - null

TypeChangesBy
addSupport for frames and multiple windows. Thanks to Allen Wu.
addSupport for non-submit buttons (input type='button').
addSupport for accessing form elements by display label. Thanks to Justin Sampson.
addSupport for form reset and onReset event.
fixFixed problem with onClick javascript event not being triggered by clickLink methods.
updateHttpUnit 1.5 incorporated, which also replaces jTidy with nekoHtml.

Release 1.0 - null

TypeChangesBy
addSupport for links with images contributed. Thanks to Justin Sampson.
addMethods were added to assert and navigate links with images by filename.
addassertFormElementEmpty method added - a convenience.
updateassertHasForm renamed to assertFormPresent to be consistent with other methods.

Release RC2 - null

TypeChangesBy
addSupport for Radio Options.
addMethods were added to support interaction with and testing of radio button groups.
addSelect boxes.
addMethods were added to support interaction with and testing of single-select elements. Multi-select elements are not yet supported.
updateFormControl renamed to FormElement.
updateMethods related to setting and testing of form input fields were renamed for consistency. All such methods now refer to "FormElement".
updateInResponse renamed to Present. AssertXInResponse methods were renamed to AssertXPresent for consistency with other method names.
updateMultiple Form support simplified. The two submitForm methods (submitForm(formName) and submitForm(formName, buttonName)) where removed. To explicitly indicate which form to work with on a multi-form page, use the new setWorkingForm method. The two remaining submit methods (submit() and submit(buttonName)) are used to submit the form when ready.
updateFormControl renamed to FormElement
updateClickLink signature change. clickLink parameter is now the link id. To navigate a link based on text contained in the link, use clickLinkWithText.
updateAccess to HttpUnit Response, Request, WebConversation opened up.
updateNew HttpUnit (1.4.5) utilized, which provides JavaScript support.
updateHttpUnitDialog class changed to act as a WebClientListener and update the response upon responseReceived call back.
updateUpdated to JUnit 3.8.1.

Release RC1 - null

TypeChangesBy
addFirst release.