Error Handling

How to apply eValid to functional testing of web applications.

Error Handling

Postby PacMan » Tue Dec 21, 2010 11:52 am

If we frequently get certain errors is there a way to get eValid to perform certain commands?

For example:
We will sometimes get an error message on our app "Blah Blah Blah" and if we get this message we want our automated test to be able to go back and perform the same steps with different data inputs. Currently our test will just stop if we encounter this error. This is a big problem since we run a lot of our tests at night before we go home. We need our tests to be able to complete a full run without any handholding.
PacMan
 
Posts: 8
Joined: Tue Nov 23, 2010 1:46 pm

Re: Error Handling

Postby eValid » Mon Dec 27, 2010 9:16 am

PacMan wrote:If we frequently get certain errors is there a way to get eValid to perform certain commands?

For example:
We will sometimes get an error message on our app "Blah Blah Blah" and if we get this message we want our automated test to be able to go back and perform the same steps with different data inputs. Currently our test will just stop if we encounter this error. This is a big problem since we run a lot of our tests at night before we go home. We need our tests to be able to complete a full run without any handholding.


The main points that are important are:

(1) eValid is primarily a regression testing engine, not a debugging tool. As a result, eValid is architected deal primarily with tests that are used to verify something -- and therefore which are expected to succeed.

(2) Because of (1) eValid uses a "flag this condition" approach. Think of the referee throwing a flag on the field for an off-sides penalty in football. When the flag is thrown everything stops.

(3) The top level responses by eValid are described here:

http://www.e-valid.com/Products/Documentation.9/Testing/error.reporting.html

(4) You can alter the flow of control with a variety of Oncondition type commands. For example you can use a command like OnErrorGoScript to alter normal flow to the named script. That script can "clean up" your operations.

eValid Support Crew
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