The Store action is one of the most important actions in Qualibrate because it enables the user with the capability of storing an output value from the application under test and reuse it in another action from the same flow during execution.
You can store value by clicking a Store button on the recorder widget:
Store the sales order number from the Status Bar after the document is created.
Start the Recorder;
Go on with the actions needed to be performed on SAP to create a sales order. After saving it the sales order number will be displayed on the bottom status bar like this:
Store option in the Recorder widget and select the status bar as shown:
The SAP status bar text represents a concatenation of MessageParameter properties as you may see in more details by consulting the SAP Help documentation.
MessageParameter = "Standard Order"
MessageParameter = "15083"
MessageParameter = "has been saved"
You only need to capture the sales order number which is stored under
MessageParameter. Therefore, expand the Recorder widget and go to the Basic Configuration window where we can choose the MessageParameter property of the SAP GuiStatusBar.
The default property captured by the Recorder is Text.
Select Control Property from Text to MessageParameter
The Verification Test Result will represent now the sales number order we intend to store and reuse for our next Display Sales Order SAP flow.
Save the recording
Verify and Store functions have only the basic setting
If you want to further optimize the handling of the verify or store function, you can change the action to → Custom
Changing the action to “Custom” will port the configuration into a code snippet
To persist the new “Custom” action, you have to Save the configuration
If the configuration is not saved, the old “Verify” or “Store” configuration will be kept