Forum Discussion

vcheung's avatar
vcheung
Occasional Contributor
13 years ago

RunTest hangs on Windows Server 2008 R2

I'm trying to integrate testcomplete v9.10 demo on windows server 2008 r2, and when my code calls Connect.RunTest(x,y,z), the code doesn't return.  I am seeing on task manager that there's a testcomplete process, but it only occupies 20000k memory (usually when things work it's 100000k) and the usual "recording" icons on the top right of the screen doesn't show up.





The way I've been running my code is I have a dll that has a bunch of nunit checks, and the command is somewhere along the lines of :



c:\nunit-console.exe c:\.....testcase.dll /xml=c:\TestResult.xml



Other things I've tried includes:



1. starting up test complete but doesn't open my project so that when the Connect.RunTest(x,y,z) gets called it'll attach to the already running testcomplete.  No luck here



2. fiddled with the program parameters so that it starts with administrator rights by everyone





If anyone has advice for troubleshooting this problem it'll be greatly appreciated. Thanks.
  • vajindarladdad's avatar
    vajindarladdad
    Frequent Contributor
    Hi Vincent,

    I think you should sent this issue to support team of Smartbear.

    This could be a bug.



    Did you try to run the same thing on other operating systems ?

    I would suggest , run the same test on other operating system , if that runs fine on other operating system then it could be operating system related bug.



    I hope this has been of some help.

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Vincent,


     


    Vajindar's right. Contact our Support team. To help them investigate the problem, please follow the steps below:


    1. When the problem occurs, run the Report Generator tool located in <TestComplete>\Bin\ReportGenerator.exe.


    2. Select the "Launch/attach to TestComplete" option.


    3. Click the "Generate memory dump" button in the Report Generator tool three times with a 5-second delay between the clicks.


    4. Click the "Generate..." button and specify the destination folder. The tool will create a ZIP archive with the report files inside.


    5. Submit the report along with a description of the problem to us.


     

  • vcheung's avatar
    vcheung
    Occasional Contributor
    Thanks for the suggestions.



    I talked to support and my understanding is that the way I'm invoking the nunit console and run a test (where the nunit test issues RunTest()) results in trying to start up testcomplete in a windows non-gui session (which is not supported).



    Looks like I may have to find some way to use testcomplete's nunit test item feature, and have my application issue a call to kick off registered nunit tests through testcomplete.