Examples bundled with Twist

Twist comes bundled with some sample projects that help understand the features and usage of Twist. This section describes how the user can obtain and load the Twist sample projects onto the workspace.

To load the bundled Twist project samples:

  1. In the main menu, Help > Twist Tutorials and Examples opens the Twist Examples window.
  2. Select the required project from the list of available samples and click Finish.

    load twist samples
  3. The corresponding project is created in the workspace and can be seen in the Scenarios view.

Twist currently bundles the following samples

  • Web Application Testing with Implicit Waits (uses Mingle) - An example test suite that demonstrates how Twist can be used with a typical AJAX application. This application uses Selenium. Implicit waits eliminate the need to use explicit synchronization statements in the Selenium code, which can significantly reduce the amount of Selenium code required to drive the browser. Implicit waits can also help make the tests more robust.
  • Web Application Testing with Explicit Waits (uses Mingle) - An example test suite that demonstrates how Twist can be used with a typical AJAX application. It uses explicit wait statements in Selenium.
  • Swing Application Testing (Book Store Example) - An example test suite that demonstrates how Twist can be used to write scenarios for a typical non-UI business application.
  • Basic Concepts in Twist - This interactive tutorial takes you through a step-by-step exercise that helps you understand the basic concepts and features of Twist.
  • Advanced concepts in Twist - This example demonstrates advanced concepts in Twist and shows some of the good usage patterns.