+

Search Tips   |   Advanced Search


Add an SAP verification point

With SAP get and SAP call elements, you can retrieve a value from the SAP GUI to create verification points on an SAP screen element.

When you add SAP verification points, SAP get elements, and some SAP calls, retrieve the data from objects in the SAP GUI, such as windows or text fields. SAP get and SAP call elements are contained in SAP screens in the test suite. SAP screens can be windows, dialog boxes, or transaction screens that are part of a recorded transaction.

You can use either the test editor or the SAP Protocol Data view to create or edit SAP get and SAP call elements and place verification points on them. When using the SAP Protocol Data view, you can select SAP screen elements from the screen capture to specify the SAP GUI identifier for the get event. Using this method to create or edit an SAP verification point is easier than adding it manually from the test editor. The SAP Protocol Data view contains two pages that are synchronized with each other and with the test editor:

To add verification points to an SAP performance test:

  1. Open the test editor and the SAP Protocol Data view. If the SAP Protocol Data view is not open, click Window > Show View > Other > Test > SAP Protocol Data.

  2. In the Test Contents area of the test editor, expand a transaction and an SAP screen. The SAP Protocol Data view displays a screen capture of the selected transaction.

  3. Inside the transaction, select the item for which to enter a new value. The Screen Capture page of the SAP Protocol Data view displays the screen capture of the SAP GUI with the corresponding GUI object highlighted in red.

  4. In the SAP Protocol Data view, right-click the GUI field that you want to verify, and then select Create Verification Point. create an advanced verification point using an SAP GUI call method, then you can select Create Element instead.

  5. In the Create Verification Point or Create Element window, specify the expected value for the verification point.

    • verify a text value in the SAP GUI object, ensure that Verify text is selected, and type the Expected value that to verify; then click Finish.

    • verify advanced properties of the SAP GUI object, you can select Advanced, and then specify the properties attached to the GUI object as well as the Expected values. Refer to SAP documentation for information about these properties.

    • If you selected Create Element to create a verification point on an SAP call, then select Advanced, choose an Element type that returns a value, and then specify the properties attached to the GUI object. Refer to SAP documentation for information about these properties.


What to do next

After creating the event, you can use the test editor to easily change the value. You can also enable and disable SAP verification points on SAP get and SAP call elements in the test editor.


Related tasks

  • Specifying an expected screen title
  • Verify response times