Komal_Deotale
8 years agoOccasional Contributor
undefined: Automation server can't create object error
since i have installed the latest version of TestComplete I am getting an error "undefined: Automation server can't create object error". It was working well with the earlier version of TC 12.30.
function CreateAutomationObject(strLibraryClassName)
{
// Variables
var objAutomation; // Script automation object
// Create script automation object
try {
objAutomation = new ActiveXObject(strLibraryClassName);
return(objAutomation);
}
catch (objError) {
Log.Error(StrTestID + ": " + objError.message);
Runner.Stop(0);
return(null);
}
}