Forum Discussion
Hi Pranav,
It looks like you didn’t specify the path to MSTest.exe. Here is the quote from this article:
In order for TestComplete to be able to run MSTest unit tests, specify the path to the MSTest command-line executable (MSTest.exe) in the Path to MSTest option defined in the Unit Testing Options dialog. To change the option, select Tools | Options from TestComplete’s main menu and then choose Engines | Unit Testing from the tree on the left of the ensuing Options dialog.
- mgroen29 years agoSuper Contributor
Hi Tanya,
I have sort of the same issue. However, I cannot find the MSTest.exe file on my machine.
I am running Windows 7 and have both MS Visual Studio 2013 and TestComplete installed locally.
Is there a way I can download the correct mstest.exe file somewhere?
- baxatob9 years agoCommunity Hero
To find your file location, open cmd and run:
for %x in (mstest.exe) do @echo.%~dp$PATH:x
- mgroen29 years agoSuper Contributor
Actually, In my case, the MSTest.exe file was located in:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\
When filling in the path in Tools -> Options > Engines > Unit Testing, I was able to call Visual Studio Unit tests from TC
Related Content
- 3 years ago
- 2 years ago
- 4 years ago
Recent Discussions
- 3 days ago
- 4 days ago