In Leapwork, quite often users have scenarios where they want to perform the validation across the data for different transactions.
For example, validating the Sales order number against the created sales order. Such validations can be performed in two ways.
Using Validate SAP block
Leapwork provide Validate SAP block which can be used to validate the text captured as the element against the text in the validate text property as shown below
2. Using SAP Action block
SAP Action block is used to perform different actions in the SAP transactions like getting values or setting the values etc. However, Get attribute property of SAP Action block can be used in conjunction with compare block to validate the data as shown below:
This approach is helpful to cater the scenarios where users want to do data validation apart from equal to operation i.e. Value A contains value B, Value A greater than Value B, Value A less than Value B etc
For any clarification, please contact our Priority Support.