Forum Discussion

Herman's avatar
Herman
Contributor
14 years ago

VB 6 applications seem to crash more often with TestComplete 8.5 than 8.2.

I'm using TestComplete to test a series  of program written in VB6. In rare cases (not predictable) the application under test crashes (see attached figure). This problem mainly occurs when closing the application under test. However, this morning I installed 8.5. I now get the crash too often (within a few minutes).



I de-installed 8.5 and then re-installed 8.2. Now I can run my tests again.



Is this a known issue? What can I do to avoid the problem (apart from going back to 8.2)?

47 Replies

  • Well, I got another chance to upgrade back to 8.7 using the second patch.  My findings:



    *  The issue I was having with the Namemapping seeing objects with the same name seems to be resolved.

    *  The issue where things seem slower, especially with TC seeing windows or dialogs does not seem to work so well yet. 

    On one of my VM's I first had 8.2 installed.  I ran a few test sections and got the following for times:



    Sec1 ~ 12:33

    Sec2 ~ 01:27

    Sec3 ~ 01:22



    I then upgraded to 8.7 using Patch2 and now got:

    Sec1 ~ 42:14  (1st run)        45:11 (2nd run)

    Sec2 ~ 03:04  (1st run)        02:27 (2nd run)

    Sec3 ~ 16:49  (1st run)        16:33 (2nd run)



    I downgraded again back to 8.2 and once again got:

    Sec1 ~ 12:56

    Sec2 ~ 01:49

    Sec3 ~ 01:17





    As you can see from the second section, the times are 3-4 times longer.  It is really pokey to find the dialogs/windows yet.  As I mentioned in my past post, they are eventually found, it just takes a very long time.



    Hopefully this can be figured out.  We would like move up to Version 9 but if patches will not get added there until they are figured out here, I will be holding at Version 8.2 for now.

    Thanks
  • newbie23's avatar
    newbie23
    Occasional Contributor
    Tested the TestComplete and the TestExecute patches more extensively (that we were sent on ticket #M0101921)



    We are actually experiencing more crashes with the TestExecute patch (no successful run post patch). 



    TestComplete on the exact same test will still crash randomly (with no error, project just dies), but upon reviewing AQTime, even on a successful run of TestComplete, it is producing Access Violations.



    I saved the results of both TestComplete and TestExecute and my system admin is sending a response to ticket #M010921 for further review.  Thanks for working on this guys!  Seems to be getting close :)

  • Hello Brad and Scott,


    We have your support requests in our DB, so we will continue working with you via e-mail.

  • sharjeelpk's avatar
    sharjeelpk
    Occasional Contributor
    I am getting this problem while running the test project by Test Execute 9, TestComplete 9 runs the same project without crashing the VB Application.

    Hi Jay,  you send me tcVBHook.dll on syed.mashkoor@technologyforge.com, I replace the module but after that Test Execute is even worst, I will reply you by my work e-mail as well.

    Regs

    syed



  • Hi Syed,


    Please collect new reports by using the ReportGenerator.exe utility. Also, try to run your application with the /tcUseGlobals parameter as I mentioned and let me know your results via e-mail.

  • Just checking in with the rest of you as to how your battle is coming with this issue.  Are you still seeing slowness issues?  Lockups?  Crashes?  Or are your issues taken care of?  I have been sending info into Smartbear but we can't yet get things to work well for our program past version 8.2 and I would really like to get up to version 9.  Version 8.2 seems to do what it is supposed to.  I will probably have to try to schedule them to get dialed into one of our machines and see if they can try anything else since our app is strictly internal.  Anyway, was just looking to see if you were still having any issues.