Test Studio crashes when adding Test as Step

2 posts, 0 answers
  1. Gero
    Gero avatar
    2 posts
    Member since:
    Feb 2011

    Posted 16 Mar 2012 Link to this post

    Hello,

    when I click the Test as Step button to add an exisiting test part as a step to an empty web test Test Studio hangs and crashes.
    Version is 2011.2.1413.

    Are there any known limitations because we already have quite many test parts.

    Kind regards

    Edit: The test project is hosted in TFS but we are using VS to manage it ( through pending changes window ).
  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 16 Mar 2012 Link to this post

    Hi Gero,

    We have seen this behavior in the past when the test project accidentally included a circular test-as-step reference. For example, Test A is trying to execute itself, Test A, as a subtest. This causes an infinite loop in Test Studio as it loads and scans the test during project load time. Similar if Test A  -> Test B -> Test C -> Test A, the same result will happen.

    To find and fix this requires a process of elimination. Remove about 1/2 of your tests (or any large count) from your test project and see if it will load. If it does then the problem is somewhere in that 1/2 you just removed. if it doesn't the problem is somewhere in the 1/2 remaining. Continuing removing blocks of tests until you identify the offending test. Once you have identified it you should be able to look at its' steps and remove the circular reference. This may require "hacking" the .tstest file in a text or XML editor since it probably won't load in Test Studio.

    Regards,
    Cody
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top