Cannot load the "RichEd20.DLL" DLL into memory
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cannot load the "RichEd20.DLL" DLL into memory
Hello,
quite often during my scripts execution, during playback, my system throws the following exception error: Cannot load the "RichEd20.DLL" DLL into memory which would, naturally, cause the test to fail. This happens after several scripts have been running. If I close my tested app and reopen it again, and run the same script again, this time it will pass, and will not throw the exception at the step where it previously did.
I was just wondering if anyone has experienced this type of error while runnning scripts with Test Complete.
Thanks!!
Serge.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Serge,
Do you know what application is the source of this error (TestComplete or your tested application or some third-party one)?
You may try to use the Report Generator utility provided with TestComplete (see TestComplete's help file for more information about this utility) and then contact either your developers or SmartBear's Support (via http://support.smartbear.com/message/?prod=TestComplete) form to get more assistance.
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alex,
Thank you for your reply. I don't think that the source of error is test complete. My guess would be that it is my windows based app being tested. I think it has something to do with the memory load after some time, but it always happens randomly, at different modules being tested, so it is not that easy to reproduce. I will take a look at that Report Generator for more details.
I'm not sure why woudl the memory load be an issue; my server hosting test complete and our app was created specifially for automated testing, and no other applications or major processes are running on that box. The box has 6GB of RAM; I think that's pretty sufficient...no? 🙂
Again, thanks for your help!
Regards,
Serge.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Serge,
> The box has 6GB of RAM; I think that's pretty sufficient...no?
If there is a memory leak then any amount of RAM can be successfully consumed after some time... 🙂
According to your description of the problem, Report Generator tool may be a way to go.
However, you may also consider AQtime tool (http://smartbear.com/product/aqtime-pro/overview/) that can detect memory leaks, request its trial and try it first. If you are lucky and the memory leak exists, than there is a chance that you will find it quickly without a lot of additional efforts.
If AQtime cannot help you, than you may try Report Generator. Maybe you will need to start two instances of it, one than will monitor TestComplete and another one that will monitor your tested application.
As you are saying that the problem is not easily reprodusible... It is my guess that the "Cannot load..." window is a modal one and thus is detected by TestComplete as the unexpected window. So you may create a handler for the OnUnexpectedWindow event and check within it if this "Cannot load..." window is displayed. If it is, you can pause test execution (e.g. by opening a simple MsgBox window that will pause the test until closed) and proceed with Report Generator to create memory dumps.
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alex,
Yes, the "Cannot Load..." object, or window, is an Unexpected Exception window. I will try with your suggestion to use the OnUnexpectedWindow event handler approach. I may not be able to get to this right away, as other higher priority tasks have come to life, but as soon as I get a chance, I will try it and will let you know.
Thanks a lot!
Serge.
