3839404142434445464748
// Get thread Thread thread = threads[i]; if (thread instanceof TaskThread) { TaskThread taskThread = (TaskThread)thread; taskThread.abort("Test aborted by the user", TestResult.Status.NOT_AVAILABLE, true); } } }