actiWATE is no longer supported
If you are a developer and would like to take over the maintenance
of this product, please contact us at rd@actimind.com.
actiWATE framework contains a number of test samples, which illustrate the usage of the product and may be considered as a good base for learning actiWATE API and for writing your own tests. Each test sample is designed for illustration of the specific topic.
Below you may find a list of these topics with associated test pages and review the code of corresponding test samples.
The source files of test samples are included into the main package. You can download this package and execute samples.
Working with Forms
This sample is a set of tests illustrating how to work with form controls.
Test page
Test sample
Uploading files
This sample illustrates how to write tests which upload files through <input type="file"> controls.
The test creates temporary text file, uploads it, and removes the file.
Test page
Test sample
Working with Frames
This sample illustrates how to locate and work with Frames and Inline Frames.
Test page
Test sample
Working with Tables
This sample illustrates how to work with tables.
The sample contains three tests which verify the table in various ways.
Test page
Test sample
Accessing Image Maps and Areas
This sample illustrates how to work with image maps and areas.
Test page
Test sample
Handling Pop-Up windows
This sample illustrates how to work with Windows and how Pop-Ups are handled.
Sample page contains button which opens a Pop-Up window.
Test page
Test sample
Handling Alerts, Confirms, and Prompts
This sample illustrates how to deal with Alert, Confirm, and Prompt dialogs in the tests.
Test page
Test sample
Accessing HTML DOM
This sample illustrates how you can access HTML DOM. Test in the sample verifies
table content using XPath expressions.
Test page
Test sample
Executing custom JavaScript
This sample illustrates how to execute arbitrary JavaScript on a Page.
Test page
Test sample
Accessing non-HTML content
This sample illustrates how to access non-HTML content through HTTP response.
Test page contains linked thumbnail of Actimind logo. When the thumbnail is clicked a new
pop-up window is opened with a big Actimind logo which is a target for verification.
Test page
Test sample
Emulating JavaScript events
This sample illustrates how to emulate JavaScript events.
Test page
Test sample
Enabling/Disabling JavaScript Execution
This sample illustrates how to access HTML page if it uses the technologies
not currently supported by actiWATE, such as getExpression method. Test
page uses getExpression method to get expression for element's width.
To open test page the sample uses the ability to disable JavaScript.
Test page
Test sample
Reusing test scripts
This sample illustrates how test scripts can be reused.
The sample contains three tests which test JavaScript calculator by calling a reusable
method performing the verification.
Test page
Test sample
Working with Timeouts, Intervals, and Meta refreshes
This sample illustrates how you can force execution of actions pending on time, such as
setTimeout() and setInterval() in JavaScript.
Test page
Test sample
Working with XmlHttpRequests
This sample illustrates how to write tests for pages that use XmlHttpRequests.
Test page contains two buttons, one of them sends asynchronous XmlHttpRequest and shows
its result, and the other one sends synchronous XmlHttpRequest and shows its result.
Test page
Test sample
Working with the Screen
This sample illustrates how to change screen parameters.
Test page
Test sample
Handling Basic Authorization
This sample illustrates how to handle Basic Authorization in actiWATE.
Test page
Test sample
Testing Create User form
This is more comprehensive sample which illustrates set of tests for a typical use-case - Create User.
These tests aggregate some aciWATE abilities illustated in other samples in order to show you how a
typical tests set for a typical use-case looks like.
Test page
Test sample