-------->HTML example (Note Page2.html and page3.html only have the
words page 2 and page 3.
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<Script>
var myPage;
function openPopup()
{
myPage = window.open("page2.html",
"thePage","width=200,height=200,resizable=1,status=1,menubar=1,location=1,titlebar=1,toolbar=1");
myPage.document.write("page2 dynamic text!");
setTimeout('myPage.location="page3.html"', 2000);
document.getElementById('testDiv').innerHTML = "continging writing";
}
</script>
</HEAD>
<BODY>
This is the Page to test popups!
<a href="javascript:void(0)" onclick="openPopup();">The Link</a>
<div id="testDiv"></div>
</BODY>
</HTML>
Watij code
IE _ie = new IE();
_ie.start("https://URL/PopupTest.html");
_ie.link(text,"/Link/").click();
IE new_ie = _ie.childBrowser();
Any help is appreciated. Thank you
We figured a way to get rid of it by changing the application code by
setting domain value in javascript. But changing the application code
to get the test work does not sound to be a solution. The project could
not proceed from there.