Modal dialogs with messages

How to apply eValid to functional testing of web applications.

Modal dialogs with messages

Postby Kristoph » Fri May 11, 2012 4:14 pm

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?
Kristoph
 
Posts: 2
Joined: Fri May 11, 2012 3:26 pm

Re: Modal dialogs with messages

Postby eValid » Mon May 21, 2012 10:19 am

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
eValid
 
Posts: 2396
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons