Software QA FYI - SQAFYI

Popup Blocker Test - P_WINDOW_SETINTERVAL

- Popup Windows Triggered at Fixed Time Intervals - Developed by FYIcenter.com


Popup Behavior: A series of popup window shows up with a fixed time interval (3 seconds) after the page is loaded into the browser.

Source Code Note: JavaScript codes implemented with a setInterval method call.


Click your mouse here to start P_WINDOW_SETINTERVAL test...


Click your mouse here to stop P_WINDOW_SETINTERVAL test...


If you don't see any popup windows, your popup blocker works on this popup test case.

HTML and JavaScript Codes Used by This Test

<a href="javascript:pWindowSetIntervalStart();">Click...
...
<a href="javascript:pWindowSetIntervalStop();">Click ...
...
<script>
/*
*  Popup Blocker Test - P_WINDOW_SETINTERVAL
*  - Popup Windows Triggered at Fixed Time Intervals
*
*  A series of popup window shows up with a fixed time 
*  interval after the page is loaded into the browser. 
*  JavaScript codes implemented with a setInterval method 
*  call.
* 
*  Version of 2007.01.01
*  Download at http://sqa.fyicenter.com/tools/
*  Copyright (C) 2007 FYIcenter.com. All rights reserved.
*/
function pWindowSetIntervalStart() {
   fyicenterTimer = window.setInterval(pWindowSetInterval...
}
function pWindowSetIntervalStop() {
   window.clearInterval(fyicenterTimer)
}
function pWindowSetInterval() {
   fyicenterWin = window.open('popup_blocker_test_popup_h...
      '', 'toolbar=no,scrollbars=no,resizeable=no,width=4...
}
</script>


Popup Blocker Test - Popup Windows Triggered at Fixed Time Intervals