final TestPageBookView testPageView, final TestViewPage debugPage, IFile fScript,
final IProject project, final IPath engineDescriptorPath,
ArrayList<TestCasData> testCasData) {
try {
// create AE:
XMLInputSource in = new XMLInputSource(engineDescriptorPath.toPortableString());
ResourceSpecifier specifier = UIMAFramework.getXMLParser().parseResourceSpecifier(in);
AnalysisEngine ae = UIMAFramework.produceAnalysisEngine(specifier);
// create (empty) CAS objects:
String desc = null;
desc = engineDescriptorPath.toPortableString();
XMLInputSource in2 = new XMLInputSource(desc);
Object descriptor = UIMAFramework.getXMLParser().parse(in2);
CAS runCas = getEmptyCas(descriptor);
CAS testCas = getEmptyCas(descriptor);
for (TestCasData td : testCasData) {