|
 |
|
|
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 Test From Recording wizard:
- Open the
Test Perspective, right-click in the
Test Navigator, select New > Test Element... > Test From Recording, and click Next. Alternatively, click the New Test From Recording button in the toolbar of the
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
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 Test From Recording wizard:
- Open the
Test Perspective, right-click in the
Test Navigator, select New > Test Element... > Test From Recording, and click Next. Alternatively, click the New Test From Recording button in the toolbar of the
Recorder Control View.
- Select 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.
Alternatively, tests can be created from existing recording files with the New Test From Recording wizard:
- Right-click the existing recording file (*.recmodel) in the Project Explorer and select Generate Test.
- Select a test generator to create the new test from the existing recording file 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 file.
- 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
Recorder Control View
|
|
|