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

5 posts, 1 answers
  1. Erik
    Erik avatar
    2 posts
    Member since:
    Nov 2012

    Posted 05 Feb 2013 Link to this post

    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.





  2. Answer
    Pavel
    Admin
    Pavel avatar
    904 posts

    Posted 07 Feb 2013 Link to this post

    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
  3. Erik
    Erik avatar
    2 posts
    Member since:
    Nov 2012

    Posted 08 Feb 2013 Link to this post

    Hello Pavel,

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

    Kind regards,
    Erik.
  4. Robert
    Robert avatar
    10 posts
    Member since:
    Oct 2008

    Posted 19 Jun 2013 Link to this post

    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
  5. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 20 Jun 2013 Link to this post

    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
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!