Project

Let us begin with creating a New Twist Project:

  1. In the main menu bar, File > New opens the New Twist Project wizard OR alternatively the New Twist Project wizard launches when clicking the Create New Twist Project toolbar icon.
  2. Enter the new project name to create a Twist project.

    create new project

  3. Click on Advanced to display the available drivers that may be required to test your application as applicable. Twist has in-built drivers to test web applications (Selenium) and Swing Applications (Frankenstein).

    Select a driver

    Select one of the available drivers.

    create new project
    • Select None if no driver required to test your application, or the user prefers to use a driver that is not listed. This is also useful for testing non UI based applications such as webservices.

      create new project

    • Select Selenium for testing web based applications. Enter additional details that are needed to configure Selenium correctly.

      Follow the Example Mingle Test Suite to understand Selenium driver configuration to test a web-based application in Twist. It also demonstrates how a typical AJAX application can be tested using Twist. Refer to Twist Examples for more information.

      create new project

      • Enable Highlighting - Choose this to highlight the UI components that Selenium is interacting with.
      • Enable Implicit Wait - Choose this to make Twist manage waits for page navigation and ajax requests. Refer TwistSelenium and Implicit waits for more details.

    • Select Frankenstein for testing Swing based applications. Enter additional details that are needed to configure Frankenstein correctly.

      create new project

  4. On selecting Finish the project with a default Scenario is created OR alternatively further operations like creating a first Scenario can be accomplished by clicking on Next to choose a template for scenario creation.
  5. Click Finish. The new project is listed in the Scenarios View.

    A Twist project can be closed by right-clicking on the project name and selecting Close Project in either the Scenarios View or the Package Explorer. Similarly a project that is marked as closed can be selected and opened by double clicking on it or right-clicking on the project and choosing Open Project in the Package Explorer.