IE popup ”Leave this page” on TruClient script

  • Questions
  • IE popup ''Leave this page'' on TruClient script
Question ID: 106471

We are receiving a popup from the IE browser that occurs only during playback of AJAX IE TruClient script using VuGen. This doesn't happen when user accesses the application manually, is there a way for the TruClient script to handle it?

Marked as spam
Posted by (Questions: 144, Answers: 1)
Asked on October 27, 2015 1:50 pm
Answers (1)
Private answer

This popup is called a window.OnBeforeUnload event, and is located in the application code. To enhance the script, to stop the popup ''Leave this page'' in TruClient, the following step needs to be added.

- Add to the TruClient Script an
''Evaluate JavaScript Code'' step as
soon as you open the window that
contains the event

- Add in the evaluate JavaScript code
the following

Below is a web site that was found that gives an example of the window.OnBeforeUlload event with the sours code.

Does it occur on all websites?
If not, this pop-up window should be designed by the website developer.
Here is a website for trial, click it.
Perform and let me know.

Pasted from

Marked as spam
Posted by (Questions: 0, Answers: 152)
Answered on October 27, 2015 1:54 pm