Command line arguments from Visual Studio to TestComplete
- 9 years ago
Rather than running via command-line, since you're using Visual Studio anyways, have you considered using the TestComplete objects directly in visual studio, what's called a "Connected" application? You build your tests and such directly in visual studio, calling TestComplete objects internally.
I think the problem you're running into, though, has to do with that, previously, you were running TestComplete.exe from a command prompt and then passing parameters. Now, TestComplete.exe is not being run the same way and so, perhaps, may even have security blocks, etc. Something you can try is to create a WScript.Shell object in your visual studio project and then call the "Run" method from there. That should do, basically, what you had been doing before.