Testing Failure Scenarios


Its important not only to test a program for successful run-throughs. Failure scenarios are also very important to test how the program behaves in error conditions. With Non-virtualized Test a test scenario can be setup to expect a program to return a specific exit code and it can also be setup to expect a program to abend.

At a specific test scenario it is possible to provide invalid input data to a program, for example, send a character field in a numeric field. To do this, the value of the input field must be sent as a hexed value of the EBCDIC/UTF8/UTF16 field. To send a hexed value, simply click the Hexed cell at the field so it shows true, and then enter the hexed value.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*