cancel
Showing results for 
Search instead for 
Did you mean: 

Running TestExecute from Powershell - TestExecute.exe is not a valid project.

Highlighted
Occasional Contributor

Running TestExecute from Powershell - TestExecute.exe is not a valid project.

Hi all

I'm using TestExecute 14.10.1042.11 x86 with Windows 10 1903 build 18362.295. 

When opening powershell (32 or 64 bit) and calling testexecute.exe I awlays get:

 

Cannot open "C:\Program files (x86)\smartbear\testexecute14\testexecute\bin\testexecute.exe" file because it is not a valid project suite or project file.

 

Wnen running from goold old cmd, everything is fine.

 

Did anyone knows what can be the cause?

 

 

 

Thank you...

5 REPLIES 5
Community Hero

Re: Running TestExecute from Powershell - TestExecute.exe is not a valid project.

Let's see your command line code please

Occasional Contributor

Re: Running TestExecute from Powershell - TestExecute.exe is not a valid project.

Hi,

Command line is:

C:\Program files (x86)\smartbear\testexecute 14\testexecute\bin\>.\testexecute.exe

 

testexecute.png

 

Thank you 

Community Hero

Re: Running TestExecute from Powershell - TestExecute.exe is not a valid project.

Hi,

 

Are initial dot and slash required ( '.\' ) ?

What if you type just testexecute.exe ?

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Occasional Contributor

Re: Running TestExecute from Powershell - TestExecute.exe is not a valid project.

Hi Alex,

testexecute.png

 

The workaround is to use: Invoke-Item "TestExecute.exe"

But I would like to ask anyway why such strange behaviour.

 

Regards tcuser

Occasional Contributor

Re: Running TestExecute from Powershell - TestExecute.exe is not a valid project.

I see the same issue from powershell and command prompt. If I manually launch TestExecute.exe from the Bin directory, it works just fine.

 

If I do TestExecute.exe or .\TestExecute.exe, I get the errors like the original poster said. But, if I change it to lowercase: testexecute.exe, it works no issue.

 

I recently ran Windows updates on this machine (Windows 8.1), and am using TestExecute 14.10.

New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors