Test selectWindow |
||
open | ../tests/html/test_select_window.html | |
click | popupPage | |
waitForPopUp | myPopupWindow | 1000 |
selectWindow | myPopupWindow | |
verifyLocation | */tests/html/test_select_window_popup.html | |
verifyTitle | Select Window Popup | |
close | ||
selectWindow | null | |
verifyLocation | */tests/html/test_select_window.html | |
click | popupPage | |
waitForPopUp | myNewWindow | 1000 |
selectWindow | myNewWindow | |
verifyLocation | */tests/html/test_select_window_popup.html | |
close | ||
selectWindow | null |
Select an anonymous window (one that isn't assigned to a variable)
click | popupAnonymous | |
waitForPopUp | anonymouspopup | 1000 |
selectWindow | anonymouspopup | |
verifyLocation | */tests/html/test_select_window_popup.html | |
click | closePage |
Leave the test in a selected window - the next test should begin in the main window