SAP is very user friendly. It throws a message in status bar for every successful/Unsuccessful operation. From validation point of view, this will really help us in making a robust script.
A green message usually indicates a successful operation whereas Red is for any error. So we need to be careful on differentiating them.
Red - Error
Green - Successful
We can use these status messages for validating the operation done on the application.
You can also differentiate whether an operation was successful or not using the object spy. There is a property “messagetype” which holds the below values.
Messagetype = E ---- Error
Messagetype = W ---- Warning
Messagetype = S ---- Successful
No comments:
Post a Comment