Skip to content

2.5.5

Compare
Choose a tag to compare
@fhoeben fhoeben released this 22 Apr 07:40
· 2139 commits to master since this release

Release 2.5.5 of the project contains the latest FitNesse (20151230) and Selenium (2.52.0) releases.

Please note: this Selenium version requires Java 7. The fixtures still work with Java 6, but you will have to downgrade to Selenium 2.46.0

To get started by running some sample tests (if you have a Java runtime installed): just download the standalone.zip, extract it and run it (using 'java -jar fitnesse-standalone.jar -p 9090', or on Windows just double clicking the jar to run the application on port 80 instead of 9090) from the directory where the 'standalone.zip' was extracted and open a browser to http://localhost:9090/HsacExamples.

Please note: please extract the zip to a location without spaces in its own name or in the names of its parents.

A clone or download of the sources and running with Maven and Java Development Kit is the way to go if you want to develop/debug fixtures.

To incorporate the fixtures in an existing FitNesse project you can also get it from Maven Central

        <dependency>
            <groupId>nl.hsac</groupId>
            <artifactId>hsac-fitnesse-fixtures</artifactId>
            <version>2.5.5</version>
        </dependency>

See HsacExamples.NotesOnUpgrade in the installation's wiki for upgrade information from 1.10

New in 2.5.5:

  • Add support to post a file using HttpTest (and its subclasses), #49.
  • Fix issue in Firefox where alerts could not be dismissed, #52.
  • Fix issue with alerts opened from inside (i)frames.
  • Fixed bug in the jUnit test listener which caused current test number in test progress reporting to exceed the total number (when SuiteSetUps or SuiteTearDowns where present).

New in 2.5.4:

  • Fixed bug in the jUnit test listener which caused test execution time not to be recorded in the XML test reports generated.

New in 2.5.3:

  • Selenium upgraded to 2.52.0, includes new Internet Explorer and Chrome web drivers.
  • HttpTest now also supports 'get from' without following redirects, allowing the configured redirect to be verified (#42).

New in 2.5.2:

  • Selenium upgraded to 2.49.1, includes new Internet Explorer web driver.
  • Latest version of hsac-fitnesse-plugin (1.13.0), with support for wiki variables that may be overridden using system properties.
  • When multiple elements match the heuristic, and they are all displayed according to Selenium, the one that has no other elements on top of its center is preferred (e.g. no other element with higher z-index at same location).
  • Removed dependency on commons-logging, instead configure Apache HttpClient to log via slf4j (which was already included)
  • More explicit versions on Maven dependencies.

New in 2.5.1:

  • Selenium upgraded to 2.49.0
  • Added example page to show added value of using BrowserTest's heuristics over technical selectors: HsacExamples.SlimTests.BrowserTests.HeuristicVsTechnicalSelectors
  • BrowserTest:
    • Added support of value of <input> to get text of list item
    • Added method to determine all selected values in a multi-select box or items in a list: values of <place>
    • Added support to get all possible options in a select box, using available options for <input>
    • The number placed in front of a list item in a number list (i.e. <li> inside an <ol>) can be determined using number for <list item text>
    • New technical selector supported: partialLink=, finding a link by part of its text.
    • Allowed the heuristics to find a link by its (partial) text specified in the HTML document, even when CSS changes the casing of the link text (e.g. makes the entire link uppercase).

New in 2.5.0:

  • FitNesse upgraded to 20151230
  • hsac-fitnesse-plugin 1.12.0. This adds a tool to analyze scenario usage in Slim tests, to use:
    • Change test system used from 'slim' to 'slimCoverage'
    • Run suite (the test will not actually call any fixtures)
    • An extra result (Scenario Usage Report) is added listing the scenarios which are never used, and some statistics on those that are used.
  • Fixed bug in mock Http Server: finding a free port did not work, only port 8000 was tried.