Show TOC Start of Content Area

Background documentation Test Scripts and Test Results  Locate the document in its SAP Library structure

Test scripts and test results are XML documents. By double-clicking a file in the Web Dynpro Explorer, you can open it for editing. The editor also offers code completion for test scripts.

Test Script

A test script consist of <page> tags. Each <page> tag contains information about a screen displayed to the user, the changes made by the user to the context of the application (for example, entering a name in a field) on the execution of an action, and the action itself (for example, clicked on a Next button).

The <generalinfo> tag contains information about the J2EE server, Web Dynpro runtime, default language, and localization.

In the Replay view, not all tags are displayed. <screen tags> are not displayed. <datachanges> and <actions> tags are displayed.

Test Script Result

A test script result is the result of replaying a test script. It consist of a series of <response>  tags. The pageattribute of a <response> tag corresponds to the pageName attribute of the corresponding  <page> tag in the test script.

Each <response> tag has a <ui> tag which contains the UI information for a screen. If you are recording UI information (you can switch this on under Preferences Web Dynpro Web Dynpro Tools), the first <ui> tag of a screen will contain the full information for that screen. The following <ui> tags for that particular screen will only contain delta information – for example, if no changes are made, the other <ui> tags will be empty.

 

 

 

End of Content Area