This is a migrated thread and some comments may be shown as answers.

Tests fail when executed with MsTest ( not in dev macine

3 Answers 171 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pushpaka
Top achievements
Rank 1
Pushpaka asked on 16 Jan 2012, 11:20 PM
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





3 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 18 Jan 2012, 04:41 PM
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
0
Mark
Top achievements
Rank 1
answered on 24 May 2016, 10:04 PM
the link in the reply is broken, is there a new one?
0
Aaron
Top achievements
Rank 1
answered on 25 May 2016, 11:00 AM

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

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

Tags
General Discussions
Asked by
Pushpaka
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Mark
Top achievements
Rank 1
Aaron
Top achievements
Rank 1
Share this question
or