Self-Solve Knowledge Search

Minimize Maximize
How to Disable pop-ups during recording in AJAX TruClient Protocol?
Title :
How to Disable pop-ups during recording in AJAX TruClient Protocol?
Document ID :
KM00574037
Product - Version:
loadrunner 11.52 11.50 11.51 ;
OS :
Updated :
Tue Jun 03 07:31:53 GMT 2014
Summary :
While recording business process with pop-ups, Firefox tries to block the pop-ups and displays a pop-up blocker bar with a message ‘Firefox prevented this site from opening a pop-up window’.This document provides instructions how to change the pop-up blocker options.

While recording business process with pop-ups in AJAX TruClient Protocol, Firefox tries to block the pop-ups and displays a pop-up blocker bar with a message ‘Firefox prevented this site from opening a pop-up window’.

How to change the pop-up blocker options, so that this message and the pop up is not displayed during the script recording?

Solution

To disable the pop-ups during recording:

  1. In the Firefox address bar, enter ‘about:config’. Click ‘I’ll be careful, I promise’ tab.
  2. In the filter field, enter disable_open_during_load.
  3. Right click on ‘disable_ open_during_load’ and select ‘Toggle’. The value changes to ‘false’.
  4. Record initial Navigation step again.

The pop-ups will be disabled.

To edit pop-up blocker options during replay:

  1. Open the script directory
  2. Go to profiles\interactive folder
  3. Edit the file ‘perfs.js’
  4. Search for the line – user_pref(“privacy.popups.showBrowserMessage”, false);
  5. Change the value to true – user_pref(“privacy.popups.showBrowserMessage”, true);

The pop-up blocker bar will be displayed the next time the script is replayed.