Testing Runtime Script Events window
You can define application and content related events on project class level. All-purpose extraction scripts for field extraction and field validation methods are performed when classifying or extracting 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 content 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:
-
Transformation Server Step 1
-
Document Review
-
Transformation Server Step 2
-
- Event
-
Select one of the following events:
-
Application_InitializeScript
-
Application_InitializeBatch
-
Batch_Open
-
Batch_Close
-
Application_DeinitializeScript
See the Tungsten TotalAgility Scripting Help for more information about these script events.
-
- 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 TotalAgility 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. |