SAP get details
In the test editor, SAP get events are located in SAP screen elements and provide a way to retrieve data from a SAP GUI object to implement verification points. These settings apply to the selected get 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 users. Think time is a statistical emulation of the amount of time actual users spend reading or thinking before performing an action.
SAP Get
- Property name
- This is the description of the GUI object related to the current event as it appears to the user in the SAP GUI client. This field is read-only.
- Value
- This is the value recorded during the test or during the last execution. You can use data correlation to reference this value. This field is read-only.
Verification Point
- Enable Verification Point
- When selected, the test verifies whether the screen returns 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 get event. 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 is the recorded name of the GUI object related to the current element. This is a read-only field.
- Type
- This is the recorded type of the GUI object related to the current element. This is a 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.