| || |
I am working on a mainframe application. I enter data and hit a enter key. Sometimes it goes through without any error message and sometimes there are some warning messages thrown.
these are a set of validation messages.
The script that i wrote handles only one warning message. what it does is if it finds the warning message then it goes back to a certain point in the script and enters the data again.
Please help me do this in validating multiple messages
Re: Validate messages
Do the error messages have any pattern in common, such as NOTICE: error message here? What is on the screen if there is no error message? If the screen appears different when there is an error message versus no error message you could look for the difference. Other then that you would need to script for anything that might possibly appear.