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

Test with tests as step in debug mode: file not found

4 Answers 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Erik
Top achievements
Rank 1
Erik asked on 05 Feb 2013, 10:14 AM
Hello,

I've been using the stand alone version of Telerik Test Studio for a while now. Yesterday I needed to debug some code, so I downloaded the visual studio plugin (VS 2012). I created a new project and imported the Telerik project that I had been developing and expanding over the past months. 

I can't give you the exact details of my test, but I'll give you a sample structure related to this issue. I have a "Complete test"-test that consists of multiple tests as steps:

"Complete test"

Which consists of:
- "Login"
- "doWork"
- "Logout"

Doing a Quick Execution of any of these tests works fine, even the "Complete test"-test.
When I run the sub-tests (Login/doWork/Logout) in debug mode from the Test View, this works fine.

When I run the "Complete test"-test in debug mode from the Test View, the following exception is thrown:

InnerException:
System.IO.FileNotFoundException: Unable to find test 'C:\Source\test\Login.tstest'
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(String relativeTestPath)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ExecuteTestActionDescriptor.Execute(IAutomationHost autoHost, TestAsStepResult result)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

As you can see, its trying to locate the Login test file in "C:\Source\test" this is the root map of my tests. The specific test that it's looking for is located in "C:\Source\test\HTML\Steps\Login - Logout"

Enabling deployment in the test settings did not solve this issue.

I hope the information provided above is enough to resolve this issue. 

Kind regards,
Erik Borg.





4 Answers, 1 is accepted

Sort by
0
Accepted
Pavel
Telerik team
answered on 07 Feb 2013, 09:42 AM
Hi Erik,

This is a known issue we have already resolved, which is described here. The fix will be available in our next release. Please excuse us for the caused inconvenience.

Greetings,
Pavel
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Erik
Top achievements
Rank 1
answered on 08 Feb 2013, 09:14 AM
Hello Pavel,

Thank you for the quick reply, I'll be waiting eagerly for the next release :)

Kind regards,
Erik.
0
Robert
Top achievements
Rank 1
answered on 19 Jun 2013, 07:28 PM
Same issue here and the deployment enabling suggestion doesn't resolve this issue.  I'm running in VS 2010, test studio version 2012.2.1420.0 under XP.  So what release is supposed to fix this known issue?  I cannot migrate to VS 2012 or Windows 7 as I am in a controled corporate environment.  Thanks
0
Boyan Boev
Telerik team
answered on 20 Jun 2013, 02:43 PM
Hi Robert,

I was able to reproduce the issue. I filed a bug report on this problem, which you can follow in our Feedback Portal.

I am sorry for any inconvenience it has probably caused and have added Telerik Points to your account.

We appreciate your feedback, which we rely on to improve our product. 
 

Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Erik
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Erik
Top achievements
Rank 1
Robert
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or