SAP call details

In the test editor, SAP call elements are located in SAP screen elements and describe various recorded interactions with the SAP server. These settings apply to the selected SAP event.

SAP element label
This is the name of the selected SAP test element as it is displayed in the Test Contents. Use this field to rename the test element, or click Restore Default to revert to the default name.
Think Time
Specifies the programmatically-calculated time delay that is observed for each user when this test is run with multiple virtual users. Think time is a statistical emulation of the amount of time actual users spend reading or thinking before performing an action.

SAP Call

Method name
This is the internal method call used by the SAP GUI client. This field is read-only.
Parameter
If the method uses parameters, one Parameter line is displayed for each parameter. Advanced users can modify these parameters. Refer to SAP documentation for more information about the parameters used by SAP GUI method calls. You can use data correlation to substitute this value.
Return
If the method returns a value, a Return line is displayed, which can be used for data correlation or for a verification point. The value displayed is not the actual return value, but only represents the type of the parameter, for example, string for a string type or 0 for an integer. Refer to SAP documentation for more information about the parameters used by SAP GUI method calls.

Verification Point

Enable Verification Point
When selected, the test verifies whether the Return value of the SAP call (if any) matches the value specified in Expected Value. An error is reported in the test log if the value returned during the test does not match the expected value.
Expected Value
This field enables you to specify the expected value for the call. The expected value can optionally be expressed as a regular expression. You can use data correlation to substitute this value.
Use Regular Expression
Select this option to express the expected value using standard regular expression syntax.

SAP GUI Object Information

Name
This field displays the recorded name of the GUI object related to the current element. This is the read-only field.
Type
This field displays the recorded type of the GUI object related to the current element. This is read-only field.
Identifier

This field displays the recorded identifier of the GUI object that is related to the current element.

You can modify the identifier of an SAP script object by selecting the Use regular expression checkbox. You can then insert a regular expression in a segment for the selected field separated by a forward slash (/). You can revert to the recorded value by using the Restore Recorded Id option.

You must be well-versed with the notion of SAP identifier that is used in the SAP GUI scripting so that you can use the regular expression effectively. For more information, refer to the SAP documentation.

Note: You must not use this feature when the SAP test is included in a schedule.