TestComplete 8 provides enhanced support for dynamic link libraries. TestComplete’s DLL Access plug-in lets your tests call routines implemented in DLLs and has been significantly improved.
One of the main improvements in the DLL Access plug-in is support for 64-bit dynamic link libraries. Now, TestComplete 8 loads 64-bit as well as 32-bit DLLs and allows you to call routines located in 64-bit libraries from your automated tests.
Furthermore, TestComplete 8 loads libraries into a helper hosting process (tcHostingProcess.exe) to enhance the stability and safety of the main TestComplete process. Now, if a fatal error occurs in a DLL used by your automated test, only this hosting process terminates and the main TestComplete process stays alive.
The hosting process is used as an environment for loading DLLs with certain “bytes”. As TestComplete 8 supports both 32-bit and 64-bit libraries, it can run up to two instances of the tcHostingProcess.exe process simultaneously for loading libraries with the appropriate “bytes”; a 32-bit hosting process for 32-bit DLLs and a 64-bit one for 64-bit DLLs.
TestComplete 8 includes a number of new scripting objects and methods that let you create a program environment for loading DLLs with the needed “bytes” and create the appropriate hosting process.
The improved DLL Access plug-in in TestComplete 8 lets you create more powerful and reliable automated tests that can use routines from both 32-bit and 64-bit third-party dynamic link libraries. If you are interested in trying TestComplete 8, be sure to apply for the Beta version.