Introduction

The Getting Started section is intended for people who desire to learn basic principles that can be applied to the available plug-ins when writing automated tests. The best way to use this section is to download the jameleon-test-suite-x.x.x.zip file, where the X's represent version numbers. This file can be unzipped anywhere and has all plug-ins enabled and installed.

The examples in this section will use the JUnit plug-in to explain some of the available features. While the JUnit plug-in provides very limited functionality, it can be used to teach many automated testing prinicples and it can also be used to accomplish tasks that would otherwise be difficult to automate.

Required Reading

Please read the following before proceeding:

  1. The Overview section talks about basic principles and jargon that Jameleon uses.
  2. The XML Basics section teaches the XML principles required to understand and write Jameleon scripts.

Jameleon GUI

The Jameleon GUI provides the ability to generate custom tags, view the properties of existing and custom tags as well as execute and debug test scripts. All of these functions will be covered later in the Getting Started section.

To run the GUI, double-click on jameleon.bat in the jameleon-test-suite directory.

Using the GUI to view available tags and their corresponding attributes

The GUI can be used to view the available tags and their attributes. Let's take a look at all tags offered by the JUnit plug-in.

Click the Function Tags tab on the bottom-left side of the window. This will display a folder labeled Functional Points. Double-click on Functional Points followed by the path illustrated above. In the above image, the ju-assert-equals tag is selected. The right side of the GUI shows all of the attributes that are supported by ju-assert-equals.

In the Attributessection, you will notice several attributes. All attributes from functionId down are common across all function tags and plug-ins. And everything above functionId is specific to this tag.