OnError Property
Description
The selected method for handling errors during the test run.
Property type
Read-write property
Syntax
Visual Basic
Public Property OnError As String
Return Type
  • (Default) NextStep. The run proceeds to the next step in the test or component when an error occurs.
  • Dialog. An error message dialog box is displayed when an error occurs. You must click a button on the message box to continue or end the run session. This option has no effect when running a test using automation, because when opened via automation, the testing application runs in silent mode, meaning that even if it is visible, message boxes are not opened.
  • NextIteration. The run proceeds to the next iteration of the action when an error occurs.  (This value is not relevant for business components.)
  • NextTestIteration. The run proceeds to the next iteration of the test when an error occurs. (This value is not relevant for business components.)
  • Stop The test or component run stops when an error occurs.
Example
See Also