8.1. Creating a Test Suite

8.1.1. Choosing a Name
8.1.2. Selecting a Toolkit
8.1.3. Choosing a Scripting Language

The first step is to create a new test suite. To do so, start the Squish IDE, and then select File|New Test Suite (or press Ctrl+Shift+N) to open a convenient wizard which will walk you through the process of creating a new test suite.

8.1.1. Choosing a Name

A picture of the first page of the wizard used for creating new test suites.
The first page of the wizard used for creating new test suites.

The first page of the wizard lets you choose where the test suite is going to be stored. Simply choose a directory in the directory tree view, and enter a name for the new test suite in the input field above. The screen shot above shows that validator_js was chosen.

[Note]Note

If your suite name does not start with suite_ then the wizard will prepend that prefix automatically, since Squish expects suite names to start with that text.

After deciding on a location for the suite, press the button labeled Next to progress to the next page.

8.1.2. Selecting a Toolkit

A picture of the second page of the wizard used for creating new test suites.
The second page of the wizard used for creating new test suites.

This next page allows you to choose what kind of application you want to test in this test suite. Since we want to test a web application, we select the Web option here and then advance to the next step of the test suite creation using the Next button.

[Note]Note

In case your license key does not include support for testing web applications, or if you're using a binary package of Squish which does not include support for testing web applications, then there won't be an option labeled Web on this page. Please contact froglogic at for finding out how to get support for testing web applications.

8.1.3. Choosing a Scripting Language

A picture of the third page of the wizard used for creating new test suites.
The third page of the wizard used for creating new test suites.

Now you get to choose between different scripting languages used for authoring test scripts for your web application. The functionality of Squish is independent of the scripting language used, but your personal preference and experience may vary. For this tutorial, we'll choose JavaScript by selecting the JavaScript option.

[Tip]Tip

A comparison between the scripting languages is available in the chapter Equivalent Script API (Section 16.1.2).

This page concludes the creation of our test suite. Clicking the Finish button closes the wizard and will show our new test suite in the tree view at the left side of the Squish IDE, similar as in this screen shot:

A screen shot of the empty web testing suite in the tree view.
An empty web testing suite as shown in the tree view of the Squish IDE.

Now we can start adding test cases to our suite.