Hi,
Do you get the same error when you run the commands below ?
$action= $TRunner -E $env:APIEnvironment -f $ResultsFolder -R $ReportType -FHTML -I $ProjectFile -A -r -M
cmd.exe /C $action
Please don't forget to mark helpful reply as answer
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
cmd.exe /C $TRunner -E $env:APIEnvironment -f $ResultsFolder -R $ReportType -FHTML -I $ProjectFile -A -r -M
Getting this error:
cmd.exe : 'System.__ComObject.GetFile' is not recognized as an internal or external command,
At line:1 char:13
operable program or batch file.
Hi,
Do you get the same error when you run the commands below ?
$action= $TRunner -E $env:APIEnvironment -f $ResultsFolder -R $ReportType -FHTML -I $ProjectFile -A -r -M
cmd.exe /C $action
Please don't forget to mark helpful reply as answer
Hello @Abhimanyu Sharma
This would be a typical situation if you are running the cmd from Powershell ISE. An error is generated when an EXE writes to stderr, but only within the ISE or when remoting or using background jobs.
An EXE that writes to stderr does not generate errors from the regular PowerShell command prompt.
Please try from a regular Powershell session.
Hope this helps with your query,
-------------
--If the reply is helpful, please Upvote and Accept as answer--