Building Custom Auto-Correction Scripts
Administrators can extend the eG Enterprise system’s auto-correction capabilities to other tests by writing custom scripts for automatically correcting issues with those tests. You can write a single script that can resolve issues with all the measures of a test, or write individual scripts for each of the measures reported by a test. Typically, these script files can be saved the script ll execute. The extensions supported by Windows environments are: .bat, .vbs, and .exe. Scripts to be executed on Unix commonly use the extension .sh.
The process of script building essentially involves three steps:
- Writing the script for automatically correcting the problems with a test / measure
, see Writing a Script.
- Making the option to enable auto-correction, available for a test
. Refer Ensuring the Availability of the Option to Enable Auto-Correction for a Test topic.
- Associating the custom script with the test
. Refer to Associating the Corrective Script with the Test.