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

[Solved] Strange exception in TFS

2 Answers 27 Views
Telerik Testing Framework
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin W
Top achievements
Rank 1
Martin W asked on 10 Mar 2010, 05:06 PM

I'm trying to run WebUI Test Studio automatically using Team Foundation Server. My tests works fine if I run them manually through VS (or directly using MSTest.exe), but when I try to run them through the FTS server I get this thing:

Overall Result: Fail  
--------------------------------------------------  
System.Runtime.Serialization.SerializationException: The constructor to deserialize an object of type 'ArtOfTest.WebAii.Exceptions.UnsupportedNonInteractiveOperationException' was not found.  
   at ArtOfTest.WebAii.Design.Execution.ITestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType)  
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTest(Test testcase, Settings settings, String testBinaryFolder, String deploymentFolder, ExecutionType exeType)  
--------------------------------------------------  
'2010-03-10 16:58:42' - Overall Result: Fail 

Any ideas?

2 Answers, 1 is accepted

Sort by
0
Martin W
Top achievements
Rank 1
answered on 10 Mar 2010, 05:58 PM
Never mind.
 
It was a problem with the TFS service port apparently.

Problem solved.
0
Cody
Telerik team
answered on 10 Mar 2010, 06:03 PM
Hello Martin W,

This is happening because, unfortunately, TFS defaults to running tests via a service which does not have interactive desktop permissions. Most WebAii tests require an interactive desktop. We have some pretty good documentation for how to get tests running in TFS here:

 

http://www.artoftest.com/support/webaii/topicsindex.aspx?topic=tfsbuild

The MDSN documentation for how to get tests running in interactive mode is here: http://msdn.microsoft.com/en-us/library/bb399142.aspx

All the best,
Cody
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.
Tags
Telerik Testing Framework
Asked by
Martin W
Top achievements
Rank 1
Answers by
Martin W
Top achievements
Rank 1
Cody
Telerik team
Share this question
or