ContributionsMost RecentMost LikesSolutionsRe: How to unload .NET assemblies FYI: It works perfectly if tcHostingProcess.exe is still running, but throws an error if it has already stopped. To avoid this, these two lines of code should do the trick: tasklist /FI "IMAGENAME eq tcHostingProcess.exe" 2>NUL | find /I /N "tcHostingProcess.exe">NUL if "%ERRORLEVEL%"=="0" taskkill /f /im tcHostingProcess.exe Re: How to unload .NET assemblies Thank you very much. I agree with you that killing a process is not the most elegant solution. But it seems that there is no official way to terminate tcHostingProcess.exe directly from TestComplete. Your suggestion would actually help me, because then I can create a postbuild event in Visual Studio that first terminates tcHostingProcess.exe and then copies the DLL to the target directory. Re: How to unload .NET assemblies Thank you very much Hassan for your excellent additions. The COM server approach looks promising. I'll give it a try. Re: How to unload .NET assemblies That's a shame. Nevertheless, thank you for taking the time. Re: How to unload .NET assemblies I just tried it. When I remove the DLL completely and then click Reload, the DLL remains locked and I cannot overwrite or delete the file. Unfortunately, I still have to close the project in TestComplete first. Re: How to unload .NET assemblies Thank you for your prompt reply. That is precisely my question: How can I release the assembly from TestComplete WITHOUT having to close and reopen the project? How to unload .NET assemblies Hej, I am using a .dotNet DLL that I have integrated into TestComplete via the CLR Bridge. Example: function DataConn(User : string, Pass : string, Host : string, Group : string, Query : string) : string; var CHelpers, Ret; begin CHelpers := dotNET.HelpersClassLibrary.CHelpers.zctor(); Ret := CHelpers.DataConnection(User,Pass,Host,Group,Query); CHelpers.Dispose(); if Ret.Success then result := Ret.Rueck.OleValue else Log.Error(Ret.Errormessage.OleValue); end; My .dotNET DLL is derived from IDisposable and implements a public function Dispose. I call this last from TestComplete, thereby releasing all resources used. If I call a function from the DLL once, I can no longer replace the DLL with a newer version because it now remains open by tcHostingProcess. I then have to completely close the TestComplete project each time, replace the DLL, and then reload the project. This Calling Functions From .NET Assemblies | TestComplete Documentation only describes how the assembly is loaded into the helper hosting process. However, it does not mention how to release the assembly again. Has anyone had a similar experience and can give me a tip? Thank you, Henry SolvedRe: Automate Authenticator App using the Secret Key for OTP From TestComplete I call the oathtool via SSH on a linux machine to generate the OTP code when I log into an 2FA secured application. https://manpages.ubuntu.com/manpages/trusty/man1/oathtool.1.html Re: New to TestComplete Well a good start could be to start with the built-in samples https://support.smartbear.com/testcomplete/docs/tutorials/samples/index.html If you are interested in learning from videos, feel free to take a look here: https://support.smartbear.com/testcomplete/videos/ Re: Check different XML file content A good way to validate different XML files is to use a XML Schema. https://www.w3schools.com/xml/schema_intro.asp