Testing Runtime Script Events window
You can define application and batch related events on project class level. All-purpose extraction scripts for field extraction and field validation methods, as well as all scripting related to Validation and Verification forms are performed when classifying, extracting or validating test documents.
However, application and batch related events are not performed. Instead, you can use this window to configure the event
you want to test in the hierarchical view of a test subset and run the inserted script code by clicking
.
You can configure a batch or application related events by selecting one from each of the following:
- Module
-
This is the name of the module that runs the script event. Select one of the following:
-
Server Step 1
-
Document Review
-
Server Step 2
-
Validation
If you increase the number of validation steps for your project additional Validation modules, such Validation Step 2, are added to test the script for a specific validation step.
-
Verification
-
- Event
-
Select one of the following events:
-
Application_InitializeScript
-
Application_InitializeBatch
-
Batch_Open
-
Batch_Close
-
Application_DeinitializeScript
See the Tungsten Transformation Scripting Help for more information about these script events.
-
- Module Type
-
This setting is only available when you select Validation or Verification as those modules can run as rich or thin client modules. It allows you testing your script code for the rich client respectively the thin client module that is selected in the list.
-
Rich Client - choose this value to test a script event for the selected rich client module.
-
Thin Client - choose this value to test a script event for the selected thin client module.
-
- Close Mode
-
This setting is available when you are testing the Batch_Close event only. If you are testing the Batch_Close event, you need to choose one of the following values:
-
Final - choose this value if you have configured the Batch_Close event to run when processing of the batch is finished.
-
Suspend - choose this value if you have configured the Batch_Close event to run when a batch is suspended.
-
Error - choose this value if you have configured the Batch_Close event to run when a batch has an error.
-
Child - choose this value if you have configured the Batch_Close event to route documents to a child batch.
-
Parent - choose this value if you have configured the Batch_Close event to route documents to a parent batch.
-
See the Tungsten Transformation Scripting Help for more information about the ScriptExecutionMode and the CloseMode.
The following buttons are available at the bottom of this window:
Button |
Description |
---|---|
OK |
This button saves the configured settings for the application and batch event that is executed when the Test Runtime Script Events button is selected from the toolbar. |
Cancel |
Closes the window without saving your changes. |
![]() |
Displays the help for the open window. |