Show TOC Start of Content Area

Procedure documentationTesting Web Dynpro Applications  Locate the document in its SAP Library structure

You can test WD applications from within the Developer Studio. The following main test functions are available:

·        Recording test scripts

·        Replaying test scripts

The test script is stored as an XML file on the local file system, as are the results. An editor allows you to edit the test scripts and results.

Requirements

·        WD project exists on the local machine

·        In the Web Dynpro Explorer view, the project is displayed with its components.

·        Application has been deployed to the server

·        If you want to record UI information, you need to make the corresponding setting in the WD preferences under Preferences Web Dynpro Web Dynpro Test. Consider that the amount generated can be large and is not needed for replay anyway you.

Procedure

1. Recording a Test Script

       1.      In Web Dynpro Explorer, select Record from the context menu on the logical application unit.

       2.      Run the WD application as usual. The processing steps are recorded automatically in the meantime.

       3.      When you have finished with the application, stop recording and save the file.

Result

The test script with the extension .testscript is visible under the application in the Web Dynpro Explorer.

2. Replaying the Script

...

       1.      Select the test script in the Web Dynpro Explorer, and choose Replay.

       2.      Make any changes to the URL or test script, if required.

       3.      When the replay is finished, choose Save Result.

Result

...

An XML file with extension .testresult is displayed in the Web Dynpro Explorer view under the test script file.

 

 

 

End of Content Area