- Community Home
- >
- Software
- >
- Products
- >
- LoadRunner / Performance Center
- >
- LoadRunner Support Forum
- >
- JavaScript error in LR 11
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
JavaScript error in LR 11
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-10-2012 01:25 PM
Short Info:
LR 11.0 with all patches for VUGen
AJAX C&S
GUI Mode
WinXP / IE7
Hello!
We have a problem in AJAX click & play. On replay a website all site components will be loaded correctly, then an error occurs in the LR log while trying to run JavaScript.
Like this:
f.functionname() is not a function ...
Can not execute JavaScript
And then the JavaScript-file is not executed by the LR. A js-file with the function his code I've found. The development team is for external, currently we are not allowed to question for help there.
The page and the js-file will run correctly in all browsers Firefox, IE7, IE8. So it has to be a LR problem.
How to get a LR compatible *js file?
1. Should we ask the HP support, to view the *.js file and send a corrected, which does just the same but can be replayed from LP? Or ask for a mini patch?
How to substitute the js-file without touching the one on webserver side?
2. If we solve the problem in the *.js file, we aren't allowed to install it into the test environment. So my question... can we integrate the corrected js-file into the LR and get him to use this, instead the original one on the webserver? For this task I was looking a time for a solution, but no result.
Because my english is not best, I try a second explanation. We want that the LR use the js-file from the LR project and not the one on the webserver. Both js-files have the same names.
The js-file is loaded and executed normally through the call in HTML, there is also the path written.
Big thanks in advance!!!


