History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SEL-117
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Matthew Purland
Reporter: Darrell DeBoer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium

Cannot handle popup windows raised from a popup window

Created: 26/May/05 11:02 PM   Updated: 08/Jun/07 04:53 PM
Component/s: Pop-Up Windows
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
If an app raises a popup window, this window can be accessed by "selectWindow". However, if the selected popup window raises another popup window, there is no way to access this secondary popup window.

This problem was reported by Alisson Vale:
http://lists.public.thoughtworks.org/pipermail/selenium-users/2005-May/000466.html


 All   Comments   Work Log   Change History      Sort Order:


Ken Mizell - 04/Nov/05 04:41 PM
sorry if this is the wrong place for this question, but i'm trying to select a popup window using the following:

<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 = 'http://cbb.by.boeing/PortalManager/PortalInterface?Action=logout&lang=en';

if (window.myWindoid){
myWindoid.close();
}

}


What am I doing wrong?
Thanks, Ken
kenmizell@gmail.com

BTW feel free to flame me, but i've sent mail to the selenium-users@lists.public.thoughtworks.org alias and gotten no reply on three seperate occasions and i also don't see my question in the daily digest email either.

Matthew Purland - 08/Jun/07 04:53 PM
I will be looking into this issue.