The Graphical Test Editor is where tests are modeled. It provides rich editing support for web tests.
The editor works like other windows applications with features like:
- Undo and redo
- Drag and drop
- Copy, cut, paste
There is a context sensitive menu when the user right clicks on an element in the test editor.
Features that may not be obvious at first sight:
- Most elements has a properties view associated with it. Click on the element to see its properties. There may be more than one "tab".
- Click on the test background (canvas) to see test properties.
- Page elements can be dragged and dropped from one page/state to another (or to a Common). If the moved element participates in a user interaction, it will be deleted from the user interaction.
- To change the start point of a test, right click on it and select "Change start point"
- The order of user interactions in a transition can be edited by selecting e.g. "Move up" in the select list of the first column in the user interaction editor. Here actions can also be deleted.
- Copy, paste and undo works as expected. The undo support is extensive.
- Sub tests are added by dragging and dropping a .aat test file from the package explorer into the graphical test editor.
- Double click on sub tests to open the sub test.
- If sub tests are moved or renamed, the path is automatically updated in all tests that refer to the subtest.
- Tree tests are supported. To create a tree (i.e. more than one path), create multiple user interactions from a source page. It is recommended to keep tree tests to a minimum though, and instead create separate tests to improve readability and reusability.
- Eclipse's Restore from Local History (right click on file) is supported.
- User interaction elements can be moved up and down my selecting "Move up" or "Move down" in the dropdown of the User Interactions table editor.
- There is refactoring support:
- When moving tests, the paths to subtests are automatically updated.
- To extract a set of pages/states to a subtest, select them, right click and select Refactor -> "Extract subtest".
Example screenshot (the Graphical Test Editor is the tab with "CubicShop feedback" which contains the actual test):

