Error when running TestExecute from Command Line
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error when running TestExecute from Command Line
I feel like I'm missing something obvious, but my attempts to run my project from command line are launching TestExecute but erroring because it's trying to load the TestExecute executable as a project. Any ideas?
Here's what I'm running in PowerShell:
PS C:\Program Files (x86)\SmartBear\TestExecute 10\Bin> .\TestExecute.exe "C:\Projects\My.Proj\Automated Testing\myAutomation\myAutomation.pjs" /r /p:myRegression
And I'm getting this error:
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try the command as follows :
& 'C:\Program Files (x86)\SmartBear\TestExecute 10\Bin\TestExecute.exe' "C:\Projects\My.Proj\Automated Testing\myAutomation\myAutomation.pjs" /r /p:myRegression
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the suggestion, but I got the same error. I even get the error if I just call the following from the executable path.
PS C:\Program Files (x86)\SmartBear\TestExecute 10\Bin> .\TestExecute.exe
I have no idea why it's trying to open TestExecute.exe as a file using TestExecute.exe.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is what I use - we don't have the space or .\ Maybe this will work?
C:\Program Files (x86)\SmartBear\TestExecute 10\Bin> .\TestExecute.exe
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Heidi, but that syntax is not compatible with PowerShell. Attempting to use it results in an error a message suggesting to use ".\TestExecute.exe"
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i also got some weird commandline errors in the past. support doesn´t helped me well so i tested a bit around with it. did you try to execute this command with the normal windows-shell (cmd)?
