03-21-2012, 12:40 PM
Hi All,
we are currently facing problem with QTP while running automation scripts in batch. We are getting the below given error message after running couple of scripts from batch.
Problem signature:
Problem Event Name: APPCRASH
Application Name: QTPro.exe
Application Version: 11.0.1018.0
Application Timestamp: 4c568649
Fault Module Name: StackHash_75dc
Fault Module Version: 6.1.7601.17514
Fault Module Timestamp: 4ce7ba58
Exception Code: c0000374
Exception Offset: 000ce653
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 16393
Additional Information 1: 75dc
Additional Information 2: 75dc95060c651b2b5a7f17f6e4c4ed06
Additional Information 3: 3e9e
Additional Information 4: 3e9ea01f00e158b0ae7c379974280564
Just to give brief information about the way, we run the scripts.
We have a driver script (.vbs file) and an excel sheet which contains a list of test scripts to be run. When we want to run scripts, we run the driver script that opens QTP, execute all test scripts one by one mentioned in the excel sheet. So when we run driver script – vbs file, few scripts run successfully and then suddenly this error pops up and batch run gets stopped.
One thing we have observed that this error occurs most of the time on one of the following two statements.
1. On premature termination of scripts like in some case we use ExitTest() function.
2. While nullifying objects. At the end of the scripts we clear all the objects which we have created during the script using this statement: Set oRecordSet = Nothing
We felt that this could be the issue of memory so to handle that we added following in our framework but seems like it is not helping.
1. Rather than keeping QTP open and executing all the scripts, now we close QTP and restart it after every 10 script execution.
2. We also clear cookies and temp folders after running 10 scripts.
3. At the end of all the scripts we are clearing all objects used in the script.
Some more information:
About AUT: Web based application developed using Flex
Browser used: IE8
Tool: QTP 11
Add-ins used: Web, Visual Basic, Java, Flex 4.5.0, AIR 2.6.0
We would like to achieve uninterrupted batch run. We are not able to find the reason for this error and so not sure about any specific solution.
Can anyone help me on this.
Thanks in advance.
Anand Shrivastava
we are currently facing problem with QTP while running automation scripts in batch. We are getting the below given error message after running couple of scripts from batch.
Problem signature:
Problem Event Name: APPCRASH
Application Name: QTPro.exe
Application Version: 11.0.1018.0
Application Timestamp: 4c568649
Fault Module Name: StackHash_75dc
Fault Module Version: 6.1.7601.17514
Fault Module Timestamp: 4ce7ba58
Exception Code: c0000374
Exception Offset: 000ce653
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 16393
Additional Information 1: 75dc
Additional Information 2: 75dc95060c651b2b5a7f17f6e4c4ed06
Additional Information 3: 3e9e
Additional Information 4: 3e9ea01f00e158b0ae7c379974280564
Just to give brief information about the way, we run the scripts.
We have a driver script (.vbs file) and an excel sheet which contains a list of test scripts to be run. When we want to run scripts, we run the driver script that opens QTP, execute all test scripts one by one mentioned in the excel sheet. So when we run driver script – vbs file, few scripts run successfully and then suddenly this error pops up and batch run gets stopped.
One thing we have observed that this error occurs most of the time on one of the following two statements.
1. On premature termination of scripts like in some case we use ExitTest() function.
2. While nullifying objects. At the end of the scripts we clear all the objects which we have created during the script using this statement: Set oRecordSet = Nothing
We felt that this could be the issue of memory so to handle that we added following in our framework but seems like it is not helping.
1. Rather than keeping QTP open and executing all the scripts, now we close QTP and restart it after every 10 script execution.
2. We also clear cookies and temp folders after running 10 scripts.
3. At the end of all the scripts we are clearing all objects used in the script.
Some more information:
About AUT: Web based application developed using Flex
Browser used: IE8
Tool: QTP 11
Add-ins used: Web, Visual Basic, Java, Flex 4.5.0, AIR 2.6.0
We would like to achieve uninterrupted batch run. We are not able to find the reason for this error and so not sure about any specific solution.
Can anyone help me on this.
Thanks in advance.
Anand Shrivastava