pepette - 2005-07-27

I went through the forum and did not find any response to that question.

I would like to test a page where the html is generated on the fly with some javascript document.write and don't know how to proceed.
Any idea are welcome.

Thanks
C.

Following is the source code of the page I need to test.

<html>
<head>
<script src="../util.js"></script>
<script src="i18n.js"></script>
<script>
...
if(argv['view'] == 'cfg') {
  document.write(
    '<frameset border="0" frameborder="no" rows="0,0,0" onUnload="end()" onResize="change()">'+
      FRAMES['cmd'] + FRAMES['cfg'] + FRAMES['applet'] +
    '</frameset>')
} else {
  document.write(
    '<frameset border="0" frameborder="no" rows="*,0,0" onLoad="start();mailFrame.focus()" onUnload="end()" onResize="change();mailFrame.focus()">'+    FRAMES['mail'] + FRAMES['applet'] +
      '<frameset border="0" frameborder="no" cols="*,*,*,*,*,*" onUnload="end()">'+
      FRAMES['cfg'] + FRAMES['mbox'] + FRAMES['cmd'] + FRAMES['msg'] + FRAMES['pab'] + FRAMES['history'] +
    '</frameset>'+
  '</frameset>')
}
</script>
</head>
</html>