<tr>
<td>selectWindow</td>
<td>myWindoid</td>
<td>&NBSP</td>
</tr>
but every time i run the test i get "Window does not exist"
Background:
when a user selects "signout" on the Site Under Test a pop up window is launched to tell the user they've signed out. Where can I find the "ID" of this window?
I thought from the source below that the ID would be myWindoid:
function signout(){
if (window.screenLeft) {
var x_start = window.screenLeft + 310;
} else if (window.screenX) {
var x_start = window.screenX + 310;
} else {
var x_start = 0;
}
if (window.screenTop) {
var y_start = window.screenTop - 75;
} else if (window.screenY) {
var y_start = window.screenY - 75;
} else {
var y_start = 0;
}
myWindoid = window.open('dsp_status.php?lang=en&signout=true', 'windoid', 'width=239,height=163,left=' + x_start + ',top=' + y_start + 'resizable=no,location=no,toolbar=no,scrollbars=no,menubar=no,status=no');
window.location.href = '';
if (window.myWindoid ){
myWindoid.close();
}
}
What am I doing wrong?
Thanks, Ken
[EMAIL PROTECTED]
_______________________________________________ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users