Forum Discussion
Dmitry_Nikolaev
12 years agoStaff
Hi Kanya,
Please clarify what object you want to create. Post your script here and specify on which code line the error appears. Also, please let me know which OS you have.
- mithileshmaurya9 years agoOccasional Contributor
var object = Connect.Sys["Browser"]("chrome");
This line when run through visual studio give me the error "Cannot create ActiveX component"
- agapych8 years agoNew Contributor
mithileshmaurya wrote:var object = Connect.Sys["Browser"]("chrome");
This line when run through visual studio give me the error "Cannot create ActiveX component"
I had the same issue when trying to use Connected apps on some environments.
The root cause of the issue was that TestComplete DLLs referenced in my C# project had lower version (TC10) than the TestComplete version installed on the environment (TC11).
After updating the referenced DLLs to the ones from TC11 the problem was fixed.