Forum Discussion
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.- mithileshmauryaOccasional Contributor
var object = Connect.Sys["Browser"]("chrome");
This line when run through visual studio give me the error "Cannot create ActiveX component"
- agapychNew 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.
Related Content
- 8 years ago
- 10 years ago
- 8 years ago
- 5 years ago
Recent Discussions
- 7 hours ago