Writing Tests

So at this point you should know a bit about using the IDE and saving tests. Now you're probably ready to edit and tweak those tests, or write whole new ones, without authoring and editing them strictly in the IDE.

Windmill implements an API for controlling the browser, simply named the Controller API. This API is written in JavaScript in the IDE but is accessible to any language through the windmill service. Any library you use to author tests for windmill will be implementing this API so the first thing you should do is read about it.

(Quite note: There is a convenience variable, _w which always points to windmill.testWindow which should save you some typing.)

Move on to The Controller API Chapter

Once you've finished reading that you can move on to the documentation for one of the test authoring libraries that are included with windmill.

Move on to the JSON Test Markup Chapter

Move on to the JavaScript Tests Chapter

Move on to the Python Tests Chapter