XML Test Suite

Home
Install
Intro
 API
 DTD
Project
Releases
 Compiled
 Source

SourceForge Logo

XmlTestSuite provides a powerful way to test web applications. 

  • Check site structure:
    HTML pages are well formed and links are valid
  • Check the content of pages
    Use Javascript variables, XPath expressions, database queries
  • Check the way the site works:
    Run test scanarios, written in XML

The main aims of XmlTestSuite are

  • Tests are written in XML
    Allows use of syntax checking XML editors.
    We use the excellent free editor jEdit.

  • Tests scripts are robust to changes in the application
    Using xpath expressions you can check the important parts of the HTML and ignore the decoration

  • Writing tests requires only a knowledge of HTML and XML
    We wanted XmlTestSuite to be adopted by testers, business analysts,
    and web developers who don't have a java background.
    (advanced usage may require use of simple xpath expressions. 
    See the dtd manual for some examples).

  • Testing encompasses all parts of the system including the database and file system.
    XmlTestSuite can verify that certain tables are updated when a certain page is submitted.
    After the tests have been completed it can suggest the sql necessary to clean up the database.
    It can also perform xpath evaluations on local files.

  • Test environment is easily extended (see the Api for details)
    • New test classes can be added by including them in the java classpath
    • New resources for test classes can be added almost as easily

  • Enables test driven development
    We have used XmlTestSuite to develop tests for existing applications. 
    We have also used it for new applications, where the tests form part of
    the specifications, and are used during the development phase.

  • Enables functional testing

  • Full compatibility with junit
    This allows the use of the standard junit test runner applications.
    Developers can use it with IDE frameworks (jEdit, Eclipse)

Please read the installation notes and the introduction for further details.

Changes in version 1.2

  • Addition of a domain tag which maps a domain name to an ip address, bypassing the normal DNS lookup for the specified name. Useful when testing in a web farm environment or on a laptop.

Changes in version 1.1

  • Support for javascript variables and expressions.
  • Uses the latest version of Httpunit, which uses a faster parser, which is also more tollerant of non-standard Html constructs.
  • Allows multiple tests scripts in a dorectory to be run by supplying a directory name
  • New <browser> tag to define the browser attributes, including window size.
  • New <script> tag to define and run javascript
  • Bugfixes.

    Copyright (c)  Netriser Limited
    XmlTestSuite is released under the GNU Lesser General Public License
    The documentation for XmlTestSuite is released under the GNU Free Documentation License
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    A copy of the license is included here.


    Permission is granted to copy, distribute and/or modify this document
    under the terms of the GNU Free Documentation License, Version 1.1
    or any later version published by the Free Software Foundation;
    with the Invariant Sections being LIST THEIR TITLES, with the
    Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
    A copy of the license is included here.