Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Application Testing Guide
Previous Page Home Next Page

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:

  1. 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.
  2. Select Create the test from a new recording.
  3. Select the recorder to record the new recording. A description of the selected recorder is displayed below the list of recorders.
  4. Optionally, click Advanced >> and select a different test generator to create the new test from the new recording.
  5. Click Next.
  6. 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.
  7. 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.
  8. 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:

  1. 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.
  2. Select Test From Recording and click Next.
  3. Select Create the test from an existing recording.
  4. Select the recorder that was used to record the existing recording. A description of the selected recorder is displayed below the list of recorders.
  5. Optionally, click Advanced >> and select a different test generator to create the new test from the existing recording.
  6. Click Next.
  7. Select the existing recording and click Next.
  8. Select the parent folder and define the name of the new test.
  9. Click Finish to create the new test from the existing recording.
  10. 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:

  1. Right-click the existing recording file (*.recmodel) in the Project Explorer and select Generate Test.
  2. Select a test generator to create the new test from the existing recording file and click Next.
  3. Select the parent folder and define the name of the new test.
  4. Click Finish to create the new test from the existing recording file.
  5. 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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire