Test as Step Hangs Test Studio

PROBLEM

When I attempt to add a Test as Step, Test Studio hangs. I am forced to terminate the process from Task Manager.

SOLUTION

This is a known issue when a circular loop in the project. When you click the Test as Step button, Test Studio iterates through all the tests to display a list of what tests can be used at that time. An infinite loop can occur when:

  • Test A refers to itself. This can happen if you copy a Test as Step (for Test A) from Test B to Test A.
  • Test A > Test B > Test C > Test A. This is an indirect type of loop that can also cause Test Studio to hang.

 

Ensure you do not have such a scenario.