javascript - Using funcunit to test a popup window -


i using funcunit test small application wrote. have button open popup window (using javascript function window.open(...)). can funcunit press button , open pop window,but i'm not sure how proceed in order handle on popup window , further testing.

unfortunately, cannot change of code in pop up,

thank you,

matt

open returns reference created window's window object. can use access in window. not sure if can verify has finished loading if can't modify popup. note both windows must on same domain in order access it.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -