epatton
8 years agoOccasional Contributor
"Can not create TestComplete object" Error even after running as admin
I'm trying to run TestComplete in a C# project in Visual Studio using the AutomatedQA dll's, but I'm running into an issue. I have a project that simply opens IE and sets the URL. Whenever I try ...
- 8 years ago
So I figured out the issue in case anyone else is going through this as well.
This seems to be an issue with Windows 10 and truly running Visual Studio in administrator mode. Follow these steps to set the "devenv.exe" file to run as an admin, and it should fix the issue:
- Right-click devenv.exe and select "Troubleshoot compatibility". (mine is located at "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE")
- Select "Troubleshoot program"
- Check "The program requires additional permissions" click "Next", click "Test the program..."
- Wait for visual studio to launch
- Click "Next"
- Select "Yes, save these settings for this program" (this part takes a while)
- Click "Close"
Go ahead and relaunch Visual Studio, and the issue should be resolved!