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

Test Studio crashes when adding Test as Step

1 Answer 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gero
Top achievements
Rank 1
Gero asked on 16 Mar 2012, 01:35 PM
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 ).

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 16 Mar 2012, 06:36 PM
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
Tags
General Discussions
Asked by
Gero
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or