Click here to Skip to main content
15,887,444 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

My requriement is to automate the CodedUItest (developed by using visual studio 2017)in the machine(WindowsServer2012-R2 OS) where I should not download the Visual Studio and I should not use the network connection.So, I downloaded the visual studio Test Agent from https://www.visualstudio.com/downloads/ in my local machine( windows7 OS) and copied the files from C:\Program Files (x86)\Microsoft Visual Studio\2017\TestAgent to my test machine.

Coded UITest case execution using command prompt(MSTest.exe) is working fine in my local machine,

whereas same batch file is showing error ".dll file is not the valid test extension" when executed in my test machine

Please help me to fix this. Your direction is most appreciated.

Thanks

What I have tried:

I downloaded the visual studio Test Agent from https://www.visualstudio.com/downloads/ in my local machine( windows7 OS) and copied the files from C:\Program Files (x86)\Microsoft Visual Studio\2017\TestAgent to my test machine and tried to automate the coded ui test from command prompt but ended with the ".dll is not valid test extension".
Posted
Updated 11-Jan-18 9:37am

1 solution

The solution I have found is to go to RegEdit.
go to
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\<YOUR VERSION>\EnterpriseTools\QualityTools\TestTypes\<FIRST ENTRY>\Extensions

See my screenshot.

Make sure .dll is included in addition to .exe.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900