Click here to Skip to main content
16,012,611 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,
i'm using CodedUI , i have record my test and it works fine i want o cal my test methode.

What I have tried:

i have add winform project i have references to my test projet but whene i wante to execute my winfrom projet i have an error in my testprojet wich telling me

Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified
Posted
Updated 23-Jan-19 19:03pm

Insert the two lines before and after the test method call:
Playback.Initialize();
Playback.CleanUp();
 
Share this answer
 
Comments
Richard Deeming 24-Jan-19 7:49am    
This question has already been solved. And adding those two lines won't fix a missing assembly reference.
i have add this references and it works nice

C#
Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll
Microsoft.VisualStudio.TestTools.UITest.Common.dll
Microsoft.VisualStudio.TestTools.UITest.Extension.dll
Microsoft.VisualStudio.TestTools.UITesting.dll
from C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PublicAssemblies\

Microsoft.VisualStudio.TestTools.UITest.Extension.IE.dll
from C:\Program Files (x86)\Common Files\microsoft shared\VSTT\14.0\

Microsoft.VisualStudio.TestTools.UITest.Framework.dll
Microsoft.VisualStudio.TestTools.UITest.Logging.dll
Microsoft.VisualStudio.TestTools.UITest.Playback.dll
Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility
Microsoft.VisualStudio.TestTools.UITest.Extension.MSAA
from C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\
 
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