Kristoph wrote:If an error processing function on an input page throws Modal dialogs with messages, how can I validate them? Can this be done with the EventLog, perhaps?
For modal dialogs there is a separate set of commands, accessible from the script language window, that allows you to process inputs into various types of modal dialogs.
In most cases, the "message" associated with a modal dialog is shown in the EventLog for you to check. You weren't clear about the type of modal dialog you are dealing with, but most of the time the key piece of information will be found in the EventLog.
The way to validate that something is in the EventLog is probably to use a custom log which is set up to report only that specific type of EventLog message. Remember, the CustomLog is a subset of the EventLog where the messages appear based on a set of strings (match strings) that you as the eValid user specify.
To confirm that a CustomLog contains a specific message, for example, to affirm the PASS/FAIL status of a test that is in a regression suite you may need to set up a pattern search command that you issue, after the expected contents of the CustomLog is created, with a SystemCall command to a batch file that does the comparison.
-- eValid Support