Forum Discussion
- zarcherOccasional Contributor
You need to specify the test to run...
TestComplete.exe C:\code\Takeflight\TestProjectVinea\TestProject1.pjs /run /project:Calculator /test:Test1 /ExportSummary:"C:\code\Takeflight\TestProjectVinea\TestProject1\output\report.xml"
- hkim5Staff
judging by the (error) out put message, it does not seem to me that you are providing the right command line arguments. By all means, if you have TestComplete.exe set as an environment variable, the command line args that you provided should work. However, judging by the message, you are doing something like:
TestComplete.exe TestComplete.exe "C:\fullpath_to_your_pjs_file" /some /other /switches
Concretely, it seems to me that you are calling on the executable twice. (apart from the fact that the executable itself doesn't seem to be capitalized in the format that i expect (but i am not sure if this has an affect on the validness of the executable file itself)
- khanzzirfanNew Contributor
Ok, I found the problem. It turned out to be admin permissions on the windows location, where TestComplete.exe file is located.
So work around I have to create a shortcut file for TestComplete.exe on desktop and execute via shortcut file.
.\TestComplete.lnk "C:\My Projects\MySuite.pjs" /some /other /switches
Related Content
- 9 months ago
- 2 years ago
- 4 years ago
Recent Discussions
- 3 days ago