We have encountered the problem when used our ADSI provider inside TestComplete. After some investigations we have discovered the simple scriptlet that crashes Windows Script Host if runned via cscript.exe. This very scriptlet executed inside TestComplete crashes full application.
It would be nice if TestComplete was able to "catch" such problems and just restart script host to continue next tests execution.
Next is the problem script.
var strDN= "DC=domain,DC=com";
var OU = "OU=OU%1"; // here is the main trouble - the percent symbol
var s_ObjectClass = "organizationalUnit";
var strService = "myserver.domain.com";
var strUser = "domain\\Administrator";
var strPass = "password";
var adsPath = "EDMS://" + strService + "/" + strDN;
var intServerBind = 32768;
var openDS = GetObject("EDMS:"); // get ActiveRoles Server provider
var o_Container = openDS.OpenDSObject(adsPath, strUser, strPass, intServerBind)
This means that TestComplete's crash reporting system has not been invoked. In this case, please tell me what exactly software we need to install on our test machine to be able to recreate the problem using your test. If you can send us the software or another sample demonstrating the problem, please do this via the Contact Support form.
-- Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️