Thursday, March 15, 2012

Pure virtual function call


Suddenly QTP behaves very strangely. You cannot save any Tests etc etc... and it throws an error message saying R6025 - Pure Virtual Function call. You cannot do much after this error.
Reinstalling QTP also less useful.

Possible causes might be:
QTP configuration files might be corrupt.
Not properly handling pointers in QTP, meaning not properly releasing the objects like Excel, ObjectRepository objects etc...
QTP provides patch for this. Install the patch QTP_00604 or QTP_00626.

No comments: