Introduction

This section is meant to help get you up and running. Topics will only be briefy discussed as the full documentation is elsewhere on the site. The section assumes you either downloaded jameleon-test-suite-x.x.x.zip which has everything installed (recommended) and pre-configured or you installed it yourself by reading the Jameleon install instructions and the Watij plug-in install instructions.

Required Reading

If you haven't already, be sure to read the Jameleon Getting Started section that discusses the basic principles of Jameleon.

Viewing Available Tags

To find out what tags are available in the Watij plug-in, simply start up the GUI by double-clicking on "jameleon.bat" and selecting the "Function Tags" tab on the bottom left. Next, double-click on the "Functional Points" folder on the top left. Next select net, sf, jameleon, plugin follwed by watij. The Watij plug-in session and function tags are located directly in this folder and some generic tags are provided in the tags folder.

How to Use the Watij plug-in

Basically, all you need to do is use the <watij-session/> tag in your testcase. All Watij function tags must exist inside a <watij-session/> tag. There are several tests in the source distriubtion of the selenium-plugin-src file. There is also a sample script that uses several of the tags. The tag docs in the GUI also come with several examples.

The tags are meant to closely mimic the methods available in the Watij interface provided by the Watij API. This plug-in is a very simple plug-in that simply keeps a handle on the IE object (which can be accessed by ie()) which allows access to the full Watij IE API. This means that those familiar with the Watij Java API should be able to write their own custom Watij tags with very little effort.