07-08-2010 11:56 AM
I am trying to create a script in LR 9.0. It records correctly but it will not all me to replay the script. It errors out. I get a message on the log in screen during replay that says Make sure java script is enabled in your browser. I do not get this when doing this manually or recording the script. What do I need to do to be able to play the script?
07-08-2010 11:35 PM
You can try the following for IE browser:-
(1) Click "Tools" --> "Internet Options"
(2) Select the Advanced Tab, and scroll down to "Java "
(3) Check the box next to the Java version
(4) Next, select the Security Tab, and select the "Custom Level" button
(5) Scroll down to "Scripting of Java applets"
(6) Make sure the "Enable" radio button is checked.
(7) Click OK to save your preference.
If this does not help then perform the following also:-
(1) Select Tools | Internet Optionsâ ¦ menu item from the main menu.
(2) Change to the Security tab at the top of the Internet Options window that pops up.
(3) From the list of zones at the top of the Security options select the Internet icon.
(4) Select the button near the bottom that reads Custom Level.
(5) In the new window that pops up, scroll down to the item that reads Active Scripting.
(6) Select the option marked Enable. Press OK button on each open window to finish.
Hope this helps.
07-09-2010 05:45 AM
All of these java settings are set correctly. I do not receive any errors when performing the same steps manually or during recording but ONLY when attempting to replay the script.
Do we have to have a java plug in purchased for Loadrunner?
07-09-2010 07:52 AM
Try changing to explicit URL mode
Did you see a warning message in the replay?
Message Code 26572
Non-resource 'URL' (detected in HTML) not downloaded. Unsupported scheme
Record all requests and resources from the server: In VuGen, select Tools > Recording Options > Internet Protocol: Recording node, and select the URL-based script option.
Check the recording log to see whether the specified URL has been downloaded or resulted in another URL. In the latter case, add a web_url function to the script, specifying that URL.
Finally... if you just in the boat for the first time... try scripting against a simple web page and see if you get the same results on replay.
07-09-2010 07:59 AM
Error -26612: HTTP Status-Code=500 (Internal Server Error)
It stops the script from completing. It really never even starts. It gets to the log in screen and then errors out. I have tried recording it 3 times with the same results.
I can replay other scripts without an issue.
07-23-2010 08:02 AM
Same scenario in my case as well, i have recorded the java enabled browser and when i check in Replay log it is saying that
I have no idea how to get ride of this.
07-28-2010 03:02 AM
08-17-2010 08:27 AM
Could this be a licensing problem or a setting/configuration that is causing it not to run?
08-26-2010 11:33 PM
What recording mode are you using? HTML-based or URL-based? You can refer to Recording Options-> Recording tab
Cos, if its recorded in HTML mode, then you should have the option enabled for non-html generated elements includes download of necessary plugins like ActiveX, Java and VB scripts.
08-29-2010 07:38 AM
Its look like java is not installed for your Internet Explorer.
Just go to the below link to install java for IE and then i hope it will work.
Still if it doesnt work please let me know the exact error which is coming.
10-17-2013 08:59 AM
06-27-2014 02:25 AM
Found the solution for this.
Go to Tools -> General Options -> Correlation tab
check the “Enable Scripting and Java applets on Snapshots viewer” option.
You wont see the warning message anymore.
07-30-2014 09:15 AM
I am facing the same issue and tried all of the above mentioned method, but it does not work. Does anyone have any idea or resolved this?