ContributionsMost RecentMost LikesSolutionsRe: Windows Security warning Thanks for your nice notice. The license of our TC is permanent. And the windows keeps updating. Before some updating for windows, the dialog didn't pop out. Now I uninstall the updating and reset the browsers installed in my pc, but the dialog still pops out. Windows Security warning When trying to open the test complete, the following error pops out. And the test complete version is 14.40.1658.7 x64. Do you have any good ideas about this? The tcHostingProcess.exe process crashed. I used Test complete method 14.40.1658.7 x64. And try to load the dll with method "DLL.Load()" and the Test complete reports " An exception occurred: 0xC0000005; class: ; description" and then try to run the function defined in dll, the TC reports "The tcHostingProcess.exe process crashed." after running for about 2 hours. Re: How to automatically stop the whole test project when one step is dead Hi AlexKaras: Thanks for your nice help. I am sorry for describing the case not clear. I set the timeout to 1 min for the Save Result File in the column named Timeout, min. When running the project, we can see the error "The execution timeout has expired. " in the log. But as you said, the Err.Number didn't change. Then we didn't get into the if condition. Re: How to automatically stop the whole test project when one step is dead Thanks for your nice help. But it seems the runner.stop does not help. The script is as below: Function gettime() Err.Clear On Error Resume Next i=1 while i<100 BuiltIn.Delay(1000) if Err.Number<>0 Then Log.Error Err.Description Runner.Stop(CurrentTestOnly=True) 'Else 'Log.Message(" no error") end If i = i+1 wend End Function and I tried to use this function as below. I set a timeout for the project Save Result File to 1 min. But the whole test executed for 100s. And it seems the Runner.stop() does not help. Do you have any good advice? Thanks -Judy How to automatically stop the whole test project when one step is dead Now we are using Test complete for embedded software testing. we write a dll for communicating with the product. When doing robustness test, some step may cause the product crashed down. Then we can't get any response for the next step. Then the whole test project is crashed. Do we have any way to setting the timeout for the whole project?