public static bool Run(int buildUserAssnId, string workingDirectory) { AutoCheck autoCheck = new AutoCheck(); autoCheck.Init(buildUserAssnId, workingDirectory); autoCheck.RetrieveElements(); autoCheck.RunService(); autoCheck.StoreResult(); autoCheck.Cleanup(); return(autoCheck.checkSuccessful); }