Handling Error Messages
Handling Error Messages and Crash Transition Objects in the Application Map
Handling Error Messages and Crash Transition Objects in
the Application Map
If the Application Mapper encounters an error message during mapping,
TestFactory places a window object that represents the error message dialog box in
the application map. If the AUT crashes during mapping, TestFactory places a crash
transition object that shows where the AUT crashed in the application map. In either
case, you can make adjustments so that the Application Mapper maps all of the
available paths in the AUT.
If the application map contains a window that represents an error message dialog
box, then do the following:
1. Determine what led to the error message. The error message could have been
activated if TestFactory did not pass required input to controls in the AUT, or if
it did not exercise controls in a specific order.
2. In the application map, leave the path mapped to the error message.
3. Set up an interaction object that guides the Application Mapper through the
unmapped path in the user interface.
4. To map the path that does not lead to the error message, map the area for which
you set up the interaction object.
5. Run a Pilot to test the new mapped path.
If the application map contains a crash transition object:
1. Leave the crash transition object in the application map until the defect that
caused the crash is fixed.
2. After the defect that caused the crash is fixed, right-click the crash transition
object in the application map, and then click Delete on the shortcut menu.
3. After TestFactory prompts you to confirm that you want to delete the object,
4. Remap the affected portion of the AUT.
5. Run a Pilot to test the affected area of the AUT.
NOTE: If you run a Pilot in an area of the application map that contains a
crash transition object, the Pilot run automatically excludes the controls that
caused the AUT to crash.