/// <summary>
/// Search ServiceTestExecuter.exe in the current running process directory,
/// and if not found, in the installation folder (taken from registry)
/// </summary>
/// <returns></returns>
public bool TrySetSTRunner()
{
if (File.Exists(STRunnerName))
{
return(true);
}
_stExecuterPath = Helper.GetSTInstallPath();
if ((!String.IsNullOrEmpty(_stExecuterPath)))
{
_stExecuterPath += "bin";
return(true);
}
_stCanRun = false;
return(false);
}