Creating a test from a recording
Recordings capture user interactions with an application and are used to generate tests.
Tests are created from new recordings with the New TPTP Test From Recording wizard:
- Open the Test Perspective, right-click in the Test Navigator, select New > Test Element... > TPTP Test From Recording, and click Next. Alternatively, click the New TPTP Test From Recording button in the toolbar of the TPTP Recorder Control View.
- Select Create the test from a new recording.
- Select the recorder to record the new recording. A description of the selected recorder is displayed below the list of recorders.
- Optionally, click Advanced >> and select a different test generator to create the new test from the new recording.
- Click Next.
- If there are no projects in the workspace, define the project name, project location, and name of the new test. Otherwise, select the parent folder and define the name of the new test.
- Click Finish to open the TPTP Recorder Control View to control and monitor the recorder, launch the recorder to create the new recording, and create the new test from the new recording.
- The Confirm Open Editor dialog may appear (see the Window > Preferences... > Test > Open Editor preference), confirming if the new test is to be opened in the test editor.
In addition, tests can be created from existing recordings with the New TPTP Test From Recording wizard:
- Open the Test Perspective, right-click in the Test Navigator, select New > Test Element... > TPTP Test From Recording, and click Next. Alternatively, click the New TPTP Test From Recording button in the toolbar of the TPTP Recorder Control View.
- Select TPTP Test From Recording and click Next.
- Select Create the test from an existing recording.
- Select the recorder that was used to record the existing recording. A description of the selected recorder is displayed below the list of recorders.
- Optionally, click Advanced >> and select a different test generator to create the new test from the existing recording.
- Click Next.
- Select the existing recording and click Next.
- Select the parent folder and define the name of the new test.
- Click Finish to create the new test from the existing recording.
- The Confirm Open Editor dialog may appear (see the Window > Preferences... > Test > Open Editor preference), confirming if the new test is to be opened in the test editor.
Related concepts
TPTP Recorder Control View