Forum Discussion
None of the original TestComplete scripting languages provide a strong error handling capability. This is not the fault of TestComplete, but a limitation of the script languages.
The latest version of TestComplete 11.1 now provides Python scripting. It appears that Python supports the try..catch method.
Unfortunatly all of our existing test scripts are in VBscript. We might try a new project in Python.
We used to use TestPartner as a test tool until MicroFocus retired it.. It used VBA and had a very strong global on error handler.
Hmm, not sure about the comment about the limitation of the scripting language. I was using the C# script format which, I thought, was supposed to be based on javascript. I know for sure that javascript has try/catch/finally baked in. I'll freely admit that I now nothing about VB/VBA.