This project is read-only.

Does CUITe support VS 2013, .net 4.5?

Jun 3, 2014 at 10:57 AM
I am not able to view/run the test cases from Test Explorer when i reference Cuite.dll for .net 4.5 in my solution.
I am able to view/run the test cases back once i remove the cuite.dll from my project.


OS Window 7
.Net 4.5
VS 2013 Ultimate
Jun 3, 2014 at 11:15 AM
Hi karikalanv,

You can reference CUITe.dll from "CUITe for .NET v4 (VS2013)".
Jun 3, 2014 at 12:44 PM
It works!

Thanks

-kari
Jul 7, 2014 at 9:48 AM
Hi,

I am facing the above issue, not able to run/view the test cases from test explorer.

I tried with Cuite.dll from both .Net v4.5 and .Net v4, same issue in both versions.


OS Win 8
VS 2013 ultimate
Jul 17, 2014 at 3:34 AM
Hi gibehera,

Please try the latest source code; reference CUITe.dll from "CUITe for .NET v4.5 (VS2013)".

Thank you.
Aug 19, 2014 at 2:19 AM
Edited Aug 19, 2014 at 2:20 AM
Hi,

I'm using VS 2013, and facing the same problem of no discovery of tests in Test Explorer. And after reading this thread, I believe if i use the latest CUITe for .NET v4.5 (VS2013) will resolve my problem. However, the problem is I can't build the CUITE project source Code in my org domain due to the security policies :(
Can somebody build generate the DLL and upload it ? Otherwise I have to drop a plan to use CUITE framework in my project. :(

Thanks
Oct 24, 2014 at 3:04 PM
I just fought with this issue and ended up doing this which worked for us.

Put the following the app.config under <configuration>

It will redirect all references to the 10.0 dll to use the 2013 12.0 dll. All our tests immediately showed after added this line, and rebuilding the solution.


<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  <dependentAssembly>
    <assemblyIdentity name="Microsoft.VisualStudio.TestTools.UITesting" publicKeyToken="b03f5f7f11d50a3a" />
    <bindingRedirect oldVersion="10.0.0.0" newVersion="12.0.0.0" />
  </dependentAssembly>
</assemblyBinding>
</runtime>
Dec 4, 2014 at 7:28 AM
Hi,
This is little urgent, have been struggling with this. I am using VS 2013 with .Net 4 and trying to run my test. I am referencing CUITE.dll from CUITE for .Net4, but getting an exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Could you please let me know the solution to this? From above post you have mentioned to use CUITe for .NET v4 (VS2013) or CUITe for .NET v4.5 (VS2013).
Can you point me where I can find these? I am not even using any silverlight component, not sure why it is looking for this dll.
Jan 9, 2015 at 6:13 AM
Hi,

I tried referencing CUITe for .Net v4.5(VS2013) and v4.0 but both are not working in VS 2013 and not able to run the test cases. Kindly, help me to resolve the issue.

Thanks in advance
Selvaraj C
Jan 9, 2015 at 4:51 PM
Edited Jan 9, 2015 at 4:51 PM
What error message do you get?
If the error message is the same as PoojaP then

1) Add bindings for all the libraries which are listed in the error message.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.VisualStudio.TestTools.UITesting" publicKeyToken="b03f5f7f11d50a3a" />
        <bindingRedirect oldVersion="10.0.0.0" newVersion="12.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.VisualStudio.TestTools.UITest.Extension" publicKeyToken="b03f5f7f11d50a3a" />
        <bindingRedirect oldVersion="10.0.0.0" newVersion="12.0.0.0" />
       </dependentAssembly>
    </assemblyBinding>
    <!--<dependentAssembly>
      <assemblyIdentity name="Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight" publicKeyToken="b03f5f7f11d50a3a" />
      <bindingRedirect oldVersion="10.0.0.0" newVersion="12.0.0.0" />
    </dependentAssembly>-->
  </runtime>
  <system.diagnostics>
    <switches>
      <add name="EqtTraceLevel" value="4" />
    </switches>
  </system.diagnostics>
</configuration>
That fixed it for me. If after this you are able to run your 1st test, please help me with my problem -
https://cuite.codeplex.com/discussions/577007
Jan 10, 2015 at 10:10 AM
Hi,

Thanks for your help and i am able to see the test name in the Test Explorer window now but when tried to run, it shows the below message in the Output Window.

------ Run test started ------
There is no test with specified Id {c2c0fb97-3e6e-8c5e-7f85-a9d4e7c6f0b2}.
========== Run test finished: 0 run (0:00:00.7742759) ==========


Kindly help me to resolve the issue.

Thanks in advance,
Selvaraj C