Release Notes

Version 1.8.0 (not yet released)

Version 1.7.0 (2017-06-19)

  • New: Finally we have a first version of the 'Write your first Wetator test' document online. And as always we did some more updates on the documentation.
  • New: WikiScripter supports escaped unicode characters like \u00ed.
  • Change: HtmlUnit updated to the latest release 2.27 (HtmlUnit Release Notes).
  • Change: Default browser is changed to Firefox 52 (ESR).
  • Change: FF38 support finally removed.
  • Change: JDK 1.8 is requred
  • Change: Attachments are now always opened inside a new window. This might break your tests.If you face problems here, you usually have to replace 'go-back' by 'close-window'.
  • Change: Many internal matcher updates; the id matcher does no longer match elements without an id defined.
  • Change: When doing a snapshot of a canvas object we will copy the style and class attribute to our image replacement to end up with a more correct screenshot
  • Change: Progress listener calls are synchronized to avoid multithreading interference.
  • Change: More correct event simulation based on fixes done in HtmlUnit
  • Change: FF triggers mouse over events for disabled elements also
  • Change: Property coverage renamed to deviation to better match the value.
  • Change: Table coordinates are now supported by all matchers (and this feature is documented now)
  • Change: Browser setup is done later; this avoids the cleaning of the response store when the user cancels the file selection
  • Change: Highlighting now works correct for duplicate id's also.
  • Change: Improved logging for file uploads, now the complete path/filename is logged.
  • Change: The number of stars in password fields screenshots now matches the number of chars like in real browsers.
  • Bugfix: Duration formatting in the report is now more readable
  • Bugfix: Duration show in report for the 'use-module' command was wrong (issue #117)
  • Bugfix: Missing template files empty.xls and empty.wet added.
  • Bugfix: Use the correct style definitions for canvas elements in screenshots
  • Bugfix: Select options are got the wrong style when simulating IE.
  • Bugfix: When writing the report output download images only if needed.
  • PDFBox updated to 2.0.6
  • commons-lang updated to 3.6

Version 1.6.0 (2016-07-28)

  • New: We made some major improvements for HtmlUnit and Wetator to get better support of css hover styles. Now mouse-over applies these styles. This should make many variations of css based menus working.
  • New: Identification by table coordinates implemented for select controls also.
  • New: It is possible to identify anchors by the value of the aria-label attribute.
  • New: Classloader handling for the wetator-ant task fixed (again). For defining the task only the wetator-ant.jar is required. As a consequence, all wetator jar files have to be part of the classpath defined inside the task. The classpath element is now required.
  • Change: Processing of date urls improved; saving our screenshot no longer logs a warning
  • Change: FoundType is now a class instead of an enum to support the definition by extensions.
  • Change: Message generation is a bit more flexible; now supports objects as parameter.
  • Change: When saving content of unsupported type we now take the suffix of the provided filename (from Content-Disposition header) into account.
  • Bugfix: Retrospect did not work for test files in sub directories.
  • Bugfix: Regression from 1.5.0: Command line processor ignores test files provided as absolute paths.
  • Bugfix: Regression from 1.5.0: Log4j is only required if retrospect or logging (-log option from the command line) is enabled.
  • PDFBox updated to 2.0.2

Version 1.5.0 (2016-06-04)

  • New: If the page contains a canvas element, our screenshot stores the content as image.
  • New: New configuration parameter 'wetator.uploadMimeType' to support correct simulation of sent mime type based on the software installed on the client.
  • Change: HtmlUnit updated to the latest release 2.22 (HtmlUnit Release Notes). Default browser is changed to Firefox 45(ESR).
  • Change: RichFaces uses a special css trick to make elements invisible. WETATOR now takes care of this.
  • Change: Handling of debug output of the wire-log improved.
  • Change: Some fixes to support the various PrimeFaces upload controls.
  • Bugfix: Minor documentation fixes for the click-on command description.
  • Bugfix: Support ElementFromPointHandler feature of HtmlUnit to simulate Pointer events more correct.
  • Bugfix: Snapshots are correct if the code contains a <base> tag.
  • Bugfix: Some NPE fixed.
  • PDFBox updated to 1.8.12

Version 1.4.0 (2016-03-04)

  • New: Documentation of configuration option 'wetator.retrospect' added.
  • New: It is possible to identify buttons by the value of the aria-label attribute.
  • New: Asset-content now supports also docx and xlsx formats.
  • Change: HtmlUnit updated to the latest release 2.20 (HtmlUnit Release Notes). IE8 support finally removed.
  • Change: Retrospect setting is part of the output now.
  • Change: Improvements of the highlighting.
  • Change: Improved output formatting of link elements.
  • Bugfix: Improved xml encoding when writing our output.
  • Bugfix: MouseMove event processing fixed for single/multiple selects.
  • Bugfix: Event handling fixed when clearing an input field.
  • Bugfix: NPE when page contains image with empty src attribute.
  • Bugfix: Many fixes for the xsl used for output formatting. Errors occurring before starting the test case itself are now handled correctly.
  • Bugfix: Regression from 1.3.0: Log4j is only required if retrospect is enabled.

Version 1.3.0 (2015-11-24)

  • New: More general support for the title attribute added; you can find now also anchors and div's by title attribute.
  • New: Configuration option 'wetator.browser.activeXObjects' added.
  • Change: HtmlUnit updated to the latest release 2.19 (HtmlUnit Release Notes). Default browser is changed to Firefox 38(ESR).
  • Change: The url anchor check is removed; many modern web app using the hash part of the url for doing some magic.
  • Bugfix: Highlighting now works for frame content also.
  • Bugfix: Take care the screenshot always shows the current state of checkboxes and radio buttons.
  • Bugfix: Stylesheet detection for screenshots was a bit too picky (one more).
  • Bugfix: Improved error handling in case of classloader problems.
  • Bugfix: The content calculation now ignores the fallback text defined for object tags, if the object is emulated by HtmlUnit.
  • Bugfix: File js_filter.cfg was missing in the template directory.
  • Bugfix: Possible NPE excetion fixed when saving the screenshot.
  • Bugfix: Fix output for frame tags (self closing).
  • PDFBox updated to 1.8.10
  • POI updated to 3.13
  • Checkstyle updated to 6.11.2
  • forbiddenapi updated to 2.0

Version 1.2.0 (2015-06-05)

  • New: Normalize file name used by the output to improve readability file names constructed from relative paths
  • New: Add the config file name to the config output.
  • Change: HtmlUnit updated to the latest release 2.17. Starting with this version we only support IE 8, IE11, Firefox 31(ESR), Firefox 38(ESR), and Chrome as browsers.
  • Bugfix: Stylesheet detection for screenshots was a bit too picky.
  • POI updated to 3.12

Version 1.1.0 (2015-05-08)

  • New: Command describe added.
  • New: Finally we found a way to add highlighting to our output. Now the reports contains screenshots with the target control of the command highlighted.
  • New: Wetator takes care of the html5 placeholder attribute now when calculating the content and you can use it as wpath also.
  • New: Wiki scripter now supports a continuation sign.
  • New: The browser console output (js-function log(...)) is now captured and available from the report.
  • New: Configuration option wetator.jsJobFilterFile added. You can now define filters to exclude some javascript jobs from the internal wait processing. This is required for all applications using some kind of heartbeat jobs (like Vaadin).
  • New: Incorrectness messages generated from HtmlUnit are captured as warnings now.
  • New: Chrome support added.
  • Change: Wetator now requires Java 1.7.
  • Change: HtmlUnit updated to the latest release 2.16. Starting with this version we only support IE 8, IE11, Firefox 24(ESR), Firefox 31(ESR), and Chrome as browsers.
  • Change: Improved set command implementation. We did some fixes to simulate a real user more closely. This fixes also sporadic problems when setting entry fields using the RichFaces placeholder.
  • Change: Improved log output, we can provide now more detailed reason info.
  • Change: Log now contains a complete overview of all running/pending js jobs in case we proceed with still running/pending jobs.
  • Change: Wetator will try to decrypt encrypted PDF documents.
  • Change: Wetator now checks the access permissions of PDF documents. If text extraction is not allowed a error is thrown.
  • Change: Xalan version in use added to the output.
  • Change: Thread from our ControlFinder ThreadPool are getting a specific name now.
  • Change: Buttons (<button>) are now identifiable by title tag also.
  • Change: File chooser dialogs now uses the system Look&Feel instead of the generic one.
  • Bugfix: Configuration setting 'wetator.proxyHostsToBypass' was ignored.
  • Bugfix: SVG elements missing in the snapshot.
  • Bugfix: Possible NPE when writing a warning.
  • Bugfix: NPE when analyzing broken tables.
  • Bugfix: BOM bytes (if any) removed from css files saved as part of the snapshots.
  • PDFBox updated to 1.8.9; bouncycastle updated to 1.51
  • POI updated to 3.11
  • xsom updated to xsom20140925
  • IVY updated to 2.4.0

Version 1.0.0 (2014-06-24)

  • New: Command assert-enabled added.
  • New: Assert-title can be used with PDF content also.
  • Change: HtmlUnit updated to the latest release 2.15.
  • Change: Report error jumpers are placed at the top to be more handy.
  • Change: Some more layout improvements for the error report.
  • New: Report now includes start time and duration also.
  • New: IE11 support added.
  • Bugfix: Fix url construction when downloading resources required by the snapshot.
  • Bugfix: Improve recursion detection when replacing variables.
  • Change: Support old school table background images in our snapshots.
  • Change: Many documentation enhancements.
  • Bugfix: Ignore 'onload' and 'onerror' attributes when dumping screenshots.
  • Change: Finding more than one hit for a wpath is a usual case. Starting with this version Wetator reports this as info instead of warning.
  • Change: Minor change of the info icon if there is at least one warning.
  • Change: When deselecting an option from a multiselection list we simulate now Ctrl+Click. This triggers the correct events.
  • Bugfix: We did some fixes for the events triggered when an option will be selected (HtmlUnit). Now Wetator triggers exactly the same events as the browser in the same order.
  • Change: When calling select/deselect for an already (de)selected option Wetator will log a warning.
  • Apache commons-lang updated to 3.3.1.
  • PDFBox updated to 1.8.6; bouncycastle dependencies added for convenience
  • POI updated to 3.10

Version 0.9.14 (2013-12-11)

  • Change: We did a minor change in our control finder. We now use the position on the page (in our page index) instead of the an internal textual description as final criterion when comparing two controls. This is more reliable and 'natural' because the algorithm now chooses always the first control.
  • Change: The command line client no longer uses one-jar. We had many resource loading problems with this approach. Hopefully the simpler solution makes the client more robust.
  • Change: For the future we plan to generate more sophisticated output. Because of this, we made the file structure of our output a bit more flexible. There is now a subdirectorx 'resources' that replaces the 'images' subdirectory. We add jQuery to the resources dir, because our html report will use this in the future.
  • Change: The replacement of non ASCII characters with '?' when normalizing unsupported content was removed. This allows more flexible testing (e.g. German umlauts in JSON results).
  • Bugfix: The source of embed tags are saved now also as part of the snapshot.
  • Bugfix: The version detection of our depended libraries is improved. Now the correct version is also available when running WETATOR from the command line (one-jar).
  • Bugfix: Trigger a ConfigurationException if something goes wrong setting up database connections for the SqlCommandSet.
  • PDFBox updated to 1.8.3

Version 0.9.13 (2013-09-02)

  • Change: The parsing of WPath's is changed. Now the '>' sign is the default separator instead of ','. If you like to run your existing test without change you can configure the separator in your configuration.
  • Bugfix: Some layout issues in for the snapshots are fixed.
  • Bugfix: Class cast exception in our wait code when a page contains an iframe with non html content.
  • Bugfix: In case an action leads to an error (http 400, 404, 5xx) the error page is now visible in the output. The error page is the current page the next assert content will work on.

Version 0.9.12 (2013-07-16)

  • Change: When building the 'flat' content of a web page (e.g. for assert-content) we now respect the value of the display property when checking for block/inline elements. This fixes some problems with missing blanks between various elements. This may some of your already working tests fail. But for all our test, the new results where more accurate. Sorry for this inconvenience (thanks chriseverty).
  • Change: Improved configuration output; CommandSets, Controls, Scripters, and ProxyHostsToBypass are mentioned also if not defined.
  • Bugfix: There was an old wetator.jar packed into wetator-ant.zip.
  • Bugfix: Checking a select option (or option group) for being disabled now respects also the disabled state of the whole select.
  • Bugfix: Duplicate proxy sample removed from the configuration templates.

Version 0.9.11 (2013-06-16)

  • Change: HtmlUnit updated to the latest release 2.13 SNAPSHOT.
    again: This HtmlUnit release includes many fixes found by the wetator community during testing of sophisticated web apps (jQuery, RichFaces, Ajax).
  • Bugfix: There was a bug when choosing really many file for execution. Saving the list of files failed. This is fixed now; nothing can stop you now writing that many tests.
  • New: Assert-content is now aware of zipped responses. Wetator will unpack the zip and build a textual representation out of the parts of the archive. (again thanks tmandry for this suggestion and testing it)
  • Change: The handling of unsupported content types was changed; wetator processes this content now as plain ASCII. So you can do some simple content checking for unsuported content also (e.g. Check the header bits of a gif/jpeg. (thanks tmandry for this suggestion)
  • New: Wetator now remembers the last selected test and the position and size of the file chooser. (thanks tmandry for this suggestion)
  • Bugfix: Again we did some work on our wait code; now wetator is a bit more clever when using assert-content or assert-title with a specific timeout.
  • New: We added a new configuration option 'wetator.httpTimeout'. This defines the timeout in seconds wetator will wait for a http response.
  • New: A new command line option '-log' was added. This generates a chatty log that might help when searching for problems.
  • Bugfix: Some minor bugfixes for the page preview of the html report. This works now wiht IE and Chrome also.
  • Bugfix: The wiki scripter now handles comments the same way as the other scripters.
  • PDFBox updated to 1.8.2
  • commons-logging updated to 1.1.3

Version 0.9.10 (2013-03-17)

  • Change: HtmlUnit updated to the latest release 2.13 SNAPSHOT. Starting with this version we only support IE 8 and Firefox 17(ESR) as browsers.
    This HtmlUnit release includes many fixes found by the wetator community during testing of sophisticated web apps (jQuery, RichFaces, Ajax).
  • New: The html report now shows a page preview when moving the mouse over the result page snapshot icon.
  • Change: poi updated to 3.9
  • Change: The internal wait algorithm is again more clever. We have fixed some minor issues and a bigger one related to iframes. If there are still some jobs in the queue after the timeout, we add a warning to the output.
  • Change: The use-module command now writes an error message if the given module file is not available.
  • Bugfix: Setting the value of an input control now takes the focus into account. This fixes problems with some fancy controls that replacing controls with other ones during the processing of the onfocus event.
  • New: We set up a integration build server at Cloudbees (https://wetator.ci.cloudbees.com/)
  • New: The ant task is now a separate eclipse project.
  • Change: Many more unit test added to the project.
  • Bugfix: Minor error in the script processing regarding directory handling fixed.
  • Bugfix: open-url: url's starting with file: are now handled as absolute
  • Bugfix: The escaping of special chars part of jvm -D parameters is now correct.
  • Bugfix: A bunch of minor code fixes (some found by FindBugs or PMD)
  • Change: Parts of the control finder engine are reworked to unify the wildcard processing of the wpath. Also some minor issues found and fixed in this area.
  • Change: Apache Ivy updated to 2.3.0 (we use ivy for our build).

Version 0.9.9 (2012-10-03)

  • New: NTLM support added
  • Bugfix: Improved error message for some rare cases
  • Bugfix: log4j is no longer required because WETATOR only uses commons-logging. The only code that directly relies on log4j was the output of the version number. This is still there but now only if log4j is in the classpath.
  • Bugfix: Improved credential handling; proxy credentials now used only for the proxy server. This fixes some issues when addressing a site with basic auth via a proxy
  • Bugfix: Minor build fixes; too many jars where packed
  • JUnit updated to version 2.10
  • HtmlUnit updated to the latest release 2.11-SNAPSHOT (including htmlunit-core-js 2.11-SNAPSHOT and cssparser 0.9.8-SNAPSHOT)

Version 0.9.8 (2012-09-04)

Attention:
This release no longer supports Firefox 3 emulation (because HtmlUnit will no longer support it).

  • New: Experimental Firefox 10 (ESR) support added; the support for FF 10 is not complete in HtmlUnit but will improve with the next versions.
  • Bugfix: Format of stacktraces in the report is fixed (preformated).
  • Bugfix: Build artifacts no longer including lib only required for our unit test.
  • Bugfix: Report fixed for ignored modules.
  • Bugfix: NPE in our internal page index related to strange usage of the button tag.
  • Bugfix: Minor code style fixes for the latest HtmlUnit snapshot.
  • HtmlUnit updated to the latest release 2.11-SNAPSHOT

Version 0.9.7 (2012-07-25)

Attention:
This is our last release that supports Firefox 3 emulation (because HtmlUnit will no longer support it). With the next release we will support Firefox 10 (ESR).
Because of the major internal changes this release requires the Wetator Jenkins Plugin 0.3 at least.

  • New: The whole error/exception handling logic is changed; now we have more fine grained control. As a visible result, Wetator now differs between failures and errors. Failures do not block the test case and the steps after a failure are also executed whereas an error stops the test case execution.
  • Bugfix: Possible endless loop during variable resolution.
  • Bugfix: Strange error message when downloading a broken Excel file.
  • Change: Wetator's file dialog is now visible for the task switcher.
  • Change: The locale handling when processing Excel files is improved. We now use the browser locale for content generation.
  • HtmlUnit updated to the latest release 2.10
  • PDFBox updated to 1.7.1

Version 0.9.6 (2012-06-10)

  • Bugfix: When calling a module from a module the parameter processing was broken.
  • Bugfix: Sometimes we logged an empty window as result.
  • New: Another input format added (wett-wiki like syntax for quick test writing).
  • New: Support csv content send by the server with content typ 'xls'.
  • Bugfix: Many fixes for frameset handling.
  • New: ControlFinder is now able to find checkboxes using the title attribute.
  • New: The output xml file contains the version info for the used libs also.
  • Bugfix: Improved waiting for AssertContent and AssertTitle.
  • New: Javascript timeout is now configurable (for really special web apps).
  • Change: Output from run_report.xsl contains some metrics now.
  • Bugfix: Send a Referer header when downloading snapshot content.
  • Bugfix: Provide a bit more info in the error message, if no scripter found.
  • Bugfix: Many small error handling issues are fixed, the output now contains also stacktraces.
  • New: New Incubator command 'assert-applet'.
  • Bugfix: NPE fix during generation of the output.
  • New: The start directory of the file selector dialog is now stored per config file. Hopefully this makes the GUI more convenient if you use Wetator for many projects.
  • New: Assert Content now supports framesets.
  • Change: Checkboxes are selectable by title attribute now.
  • Change: Rewritten normalization of the excel file content used by the 'AssertContent' command. Most of the content is now formatted like excel did it.
  • Change: Some whitspace was missing in the internal page representation, especially before some controls.
    Please note: Because of the additional whitespace it is possible that some 'Assert Content' commands are failing.
  • New: Some more content types to file extension mappings are supported. This generates more correct file extensions for the output.
  • Bugfix: Referer header was missing if read linked resources (like stylesheets or images)
  • Bugfix: Selection in list boxes not visible in the snapshots
  • Bugfix: Some whitespace (&ensp;, &emsp;) was missing in the snapshots
  • htmlunit updated to the latest snapshot (this includes also nekohtml and cssparser)
  • automaton updated to 1.11.8
  • commons-lang updated to 3.1
  • pdf-box updated to 1.7.0
  • poi updated to 3.8

Version 0.9.5 (2011-06-13)

  • New: Rewritten support of various input formats; the current formats are still supported
    Major changes are done for the default wet format (the xml is really different)
    The new wte eclipse plugin can read the old format and will write the new one.
  • Bugfix: Ant task confuses the normal ant class loader
  • cssparser updated
  • Bugfix: Labels containing entry fields are not found in all cases
  • htmlunit lib updates
  • support for @import statements in css files added
  • many fixes for the correct storage of files referenced from the snapshot (css, graphics)
  • improved performance during storage of files referenced from the snapshot (css, graphics)
  • support for rtf documents (Assert Content) added
  • automaton updated to 1.11.7
  • ant updated to 1.8.2
  • commons-lang updated to 2.6
  • pdf-box updated to 1.5.0

Version 0.9.4 (2011-01-16)

  • initial support for iframes
  • xls file reader supports cells with functions and cells with special format settings
  • pdfbox updated to 1.4.0
  • snapshot of the page added, if the page was changed when 'Assert Cotent' or 'Assert Title' waiting for the content
  • the ant task now supports the attributes 'failureproperty' and 'haltonfailure'
  • addressing fields by using a table column header
  • htmlunit lib updates
  • some fixes for the documentation
  • improved schema support for the xml files
  • all packages renamed to org.wetator
  • set only if control is not readonly
  • improved page snapshots (images referenced by css are stored)

Version 0.9.3 (2010-11-14)

  • lib updates
  • some fixes for the documentation of the ant task
  • complete rewritten control finder; the new one is much faster and extendable
  • test output improved
  • source code cleanup
  • many more javadoc comments

Version 0.9.2 (2010-08-07)

  • lib updates
  • many more tests
  • xml based test files are now supported
  • make it possible to run a test with different browsers
  • source code cleanup
  • many more javadoc comments
  • support for the maxlengt attribute for input text and password
  • more checks if a link points to an anchor at the same page
  • set/select only if control is not disabled
  • timeout support for assert title and assert content
  • improved performance

Version 0.9.1 (2010-05-28)

  • many documentation and website updates (license, grapics, meta tags etc.)
  • fixes for the log output
  • lib updates
  • many more tests
  • source code cleanup
  • improved parametr check
  • start a new browser for every test
  • html screenshots for every test step (without assert...)
  • ant fixes for classpath handling

Version 0.9 (2010-04-18)

  • first public available version