Show TOC Start of Content Area

Procedure documentation Recording a Test Script in the Developer Studio  Locate the document in its SAP Library structure

Use

From the Web Dynpro Explorer, you can record a deployed application.

Restriction

You can only record one application at a time. For example, if your application contains a link to another application, recording ends when you click on the link.

Recording UI Information

If you want to record UI information, you need to have selected Record UI Information in Test Script (under Preferences Web Dynpro Web Dynpro Test). If you are only testing in the Developer Studio, you would normally not record the UI information – the amount generated can be large and it is not needed for replay anyway. However, test scripts that you intend to import into eCATT require this information if you want to use functions associated with the simulator there.

Prerequisites

The Web Dynpro project exists on the local machine.

The Web Dynpro application has been deployed and the SAP J2EE Engine preferences are correctly configured (Windows Preferences SAP J2EE Engine).

Procedure

       1.      Open the Web Dynpro perspective.

       2.      In the Web Dynpro Explorer, expand the project and select the application.

This graphic is explained in the accompanying text

       3.      From the context menu, choose Record.

The Web Dynpro Test Case Record view appears and the application starts.

This graphic is explained in the accompanying text

       4.      Use the application as required.

       5.      When you have finished with the application, choose Stop Recording.

The Script Save dialog appears.

       6.      Enter a file name and description for the test script.

This graphic is explained in the accompanying text

The file extension .testscript will be added automatically.

       7.      Choose OK.

Result

The new test script is stored as an XML file on the local file system. The test script is visible as a node under the application in the Web Dynpro Explorer.

This graphic is explained in the accompanying text

 

 

End of Content Area