Forum Discussion

Donald_Baugh's avatar
Donald_Baugh
Occasional Contributor
12 years ago

Data driven tests in project's test items list cause Testcomplete to hang

I have many tests in my project's test items.  When running a project with a data driven test, TestComplete hangs and must be terminated using Windows Task Manager.  Specifically it always hangs on the second test in the list after the data driven test.  If I exclude the data driven test from the list, the project runs through to completion.  Any help would be appreciated.

2 Replies

  • Donald_Baugh's avatar
    Donald_Baugh
    Occasional Contributor
    I found a work around for my problem.  First, I need to point out that all my tests were keyword tests.  I rewrote a data driven test as a jscript test and successfully ran my project through to completeion.  Next, I used TectComplete's feature to convert the data driven keyword test to a script.  I noticed that the jscript code for the data driven lines were different than what I had written manually - I had followed Lino Torvald's instruction from his online scripting class.  The script created by the conversion feature also caused TestComplete to hang, requiring WIndows Task Manager to kill it.



    So I have re-written all of my data driven tests in jscript and now my project, which still includes other non data driven, keyword tests, runs through to completion.
  • Donald_Baugh's avatar
    Donald_Baugh
    Occasional Contributor
    Unfortunately I recalled Mr. Tadros' name incorrectly.  I guess Lino Tadros sounded so close to Linus Torvalds that I crossed the names when I wrote my previous post.  My apologies to you Mr.Tadros.