Tests fail when executed with MsTest ( not in dev macine

4 posts, 0 answers
  1. Pushpaka
    Pushpaka avatar
    1 posts
    Member since:
    Dec 2011

    Posted 16 Jan 2012 Link to this post

    Hi,

    I have a set of Telerik web tests in a project in my visual studio ( 2010) solution.
    1. When I executed them with VS plugin (with QuickExecute)
    -all run well
    2. Then I used VS-->Test-->Run-->Tests in current context,
    -all executed successfully.
    3. Then I tried to executed them with MsTest in our continuous integration server ( final builder).
    -It all failed.

    My test project is:
    - My telerik Test Studio Version 2011.2.1117.0
    - "Any CPU" build setting ( Tried x86 setting too, no luck)
    -I have a testsettings file and test list created for MsTest.
    - I am testing with Internet Explorer

    The error I got in my CI server:
    Run has the following issue(s):
    Warning: Test Run deployment issue: The assembly or module 'Telerik.TestingFramework.Interop' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.Input' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.Navigation' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.Docking' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.GridView' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Documents' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.Charting' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Data' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.RibbonBar' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.DataVisualization' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Documents.FormatProviders.Html' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.Data' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.TestStudio.Data' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.TestStudio.Controls.GridView' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'ArtOfTest.ShDocVw' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.TestStudio.Controls' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Themes.Office_Black' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found. 


         Action Failed
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe returned : 1 


    If you see any problem with my test configurations or any problem with my approach, please let me know.

    Thank you.
    Pushpaka





  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 18 Jan 2012 Link to this post

    Hello Pushpaka,
    if you intend to execute Test Studio tests on your integration server, you need to have Test Studio Runtime edition installed on that machine. Alternatively if you want to execute Unit tests that utilize the free Telerik Testing Framework, you need to have the Telerik Testing Framework installed on the intended machine.

    Also make sure that Deployment is enabled:
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/knowledge-base/visual-studio/enable-deployment.aspx

    Kind regards,
    Stoich
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Mark
    Mark avatar
    2 posts
    Member since:
    Apr 2016

    Posted 24 May in reply to Stoich Link to this post

    the link in the reply is broken, is there a new one?
  4. Aaron
    Aaron avatar
    31 posts
    Member since:
    May 2016

    Posted 25 May in reply to Mark Link to this post

    http://docs.telerik.com/teststudio/troubleshooting-guide/visual-studio-tg/enable-deployment

    I believe that's the same information that you're looking for.

Back to Top