Unscheduled Test Runs

PROBLEM

A test list runs repeatedly, but does not appear in the Results view.

PROBLEM

The scheduling service will start, but after about 60 seconds it shuts back down. Looking at the Windows event log reveals:

Application: Telerik.TestStudio.ExecutionManagerService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.DirectoryNotFoundException

SOLUTION

This behavior can occur when you delete the test project directory from disk on the Test Studio client machine before deleting the scheduled test run from the Results view. The solution is to remove the scheduled job on disk from the Scheduling Server. The scheduled runs are stored as files in the ScheduleStorage directory. The simplest solution is to delete all of the files in this directory; this will remove all scheduled jobs from your scheduling server.

The location of the ScheduleStorage directory depends on your configuration:

  • If the Scheduling Service is running as a service on a 32 bit machine:

    C:\Windows\System32\config\systemprofile\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage

  • If the Scheduling Service is running as a service on a 64 bit machine:

    C:\Windows\Syswow64\config\systemprofile\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage

  • If the Scheduling Service is running as a user (replace 'UserName' with the name of the Scheduling Service user):

    C:\Users\UserName\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage