Software QA FYI - SQAFYI

Popup Blocker Test - P_LINK_ONCLICK

- Popup Windows Triggered by Mouse Clicking Links - Developed by FYIcenter.com


Popup Behavior: A single popup window shows up when you click your mouse on a hyper link. No need to click the link.

Source Code Note: JavaScript codes implemented on the onclick event of a link tag.


Click your mouse here to start P_LIKE_ONCLICK 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="#top" onclick="pLinkOnclick();">Click your m...
...
<script language="JavaScript">
/*
*  Popup Blocker Test - P_LINK_ONCLICK
*  - Popup Windows Triggered by Mouse Clicking on Links
*
*  A popup window shows up when you click your mouse on a 
*  hyper link. JavaScript codes implemented on the 
*  onclick event of any type of link tag.
* 
*  Version of 2007.01.01
*  Download at http://sqa.fyicenter.com/tools/
*  Copyright (C) 2007 FYIcenter.com. All rights reserved....
*/
function pLinkOnclick() {
   fyicenterWin = window.open('', 'Popup', 'toolbar=no,scrollba...
   fyicenterWin.document.write('<html><body bgcolor="#eeeeff">'...
   fyicenterWin.document.write('<p><b>P_LINK_ONCLICK Test</b>')...
   fyicenterWin.document.write(' - Popup Windows Triggered by M...
   fyicenterWin.document.write(' - Developed by FYIcenter.com</...
   fyicenterWin.document.write('<p><img src="popup_test_fyicent...
   fyicenterWin.document.write('If you see this popup window, y...
   fyicenterWin.document.write('</body></html>');
   fyicenterWin.document.close();
}
</script>


Popup Blocker Test - Popup Windows Triggered by Mouse Clicking Links