Side navigation
#3320 closed bug (invalid)
Opened September 03, 2008 06:22PM UTC
Closed June 16, 2010 02:58AM UTC
Last modified March 14, 2012 09:16PM UTC
jquery-1.2.6.min.js and loadrunner 8.1 conflict
Reported by: | storrey | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | core | Version: | 1.2.6 |
Keywords: | loadrunner jquery | Cc: | |
Blocked by: | Blocking: |
Description
the workaround for IE to check if the doc is ready causes LoadRunner 8.1 sp4 to go into endless loop in "click and script" mode. Every time we have to deploy a new version of our web application into out quality assurance environment for testing, I have to edit the file and comment out the line.
the offending line is (also see snippet below for context)
setTimeout( arguments.callee, 0 );
If IE is used and is not in a frame
Continually check to see if the document is ready
if ( jQuery.browser.msie && window == top ) (function(){
if (jQuery.isReady) return;
try {
If IE is used, use the trick by Diego Perini
http://javascript.nwbox.com/IEContentLoaded/
document.documentElement.doScroll("left");
} catch( error ) {
setTimeout( arguments.callee, 0 );
return;
}
and execute any waiting functions
jQuery.ready();
})();
To be completely accurate we don't edit the sourse code, except to debug what's causing the issue. We had to completely rework a set of loadrunner scripts to avoid using the click and script technology available via HP's (formerly Mercury) Loadrunner.