Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP11 Crashing after running 2-3 scripts.
#1
Not Solved
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


Attached Files Image(s)
   
Reply
#2
Not Solved
Hi,
Just to confrim....
please tell me whether your scripts opens and closes the browser every time? (while running 1st script opening the bowser,do the testing, closing the browser and again opening the browser for 2nd script)
Reply
#3
Not Solved
Hi,

Thanks for the reply.
Yes, Script opens and closes browser every time.

Anand
Reply
#4
Not Solved
me faced the same issue...
please modify your script to open the browser once and close after executing all the scripts.. it will work fine without any error....
Reply
#5
Not Solved
Hi,

I have the same issue with QTP 10.0, but it happen after opening IE 8:

AppName: qtpro.exe AppVer: 10.0.4861.0 AppStamp:494a672d
ModName: msvcr80.dll ModVer: 8.0.50727.6195 ModStamp:4dcddbf3
fDebug: 0 Offset: 0001715b

Could you help me please?

Many thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cross browser testing using QTP11 AbstractOne 4 7,737 10-24-2018, 02:40 PM
Last Post: jahmed2345
  Running UFT scripts on a remote machine with no UFT installed on the Remote machine anupam4j 0 3,032 01-21-2016, 06:48 PM
Last Post: anupam4j
  Running QTP scripts without QC sowjanya 3 6,105 07-16-2015, 11:16 AM
Last Post: ravi.gajul
  Object identification differences between QTP11 and UFT12.01 nivdhi 1 2,891 12-18-2014, 03:36 PM
Last Post: Autobot
  QTP11-Flex4.5 Sync and Object Identification Issues Yogesh Thete 0 2,563 06-26-2014, 01:23 PM
Last Post: Yogesh Thete

Forum Jump:


Users browsing this thread: 3 Guest(s)