[Webtest] Close window

Philippe Schoch webtest@lists.canoo.com
Tue, 09 May 2006 15:23:10 +0200


This is a cryptographically signed message in MIME format.

--------------ms020809040602020803050401
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

is at the moment possible to close a (browser/popup)window in webtest?
I have the problem that I cannot select the main window (with the 
selectWindow step) after testing the other window. I just assumed the 
title will be the name for the selectWindow step. But it must be 
something else as my error message says there are two nameless windows 
around....

Test step selectWindow named "select the original window" failed with 
message "Step[selectWindow "select the original window" (13/13)] Window 
not found with name: TelcoBill available: [TopLevelWindow[name=""], 
TopLevelWindow[name=""]]"

So is it possible to get back to my original window with a webtest step?

greets,
Philippe

--------------ms020809040602020803050401
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJWTCC
AwcwggJwoAMCAQICEDGh5KvKbKlle3oHEKH/EI0wDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UE
BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT
I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MDMwNzA5MDEwN1oX
DTA3MDMwNzA5MDEwN1owZzEPMA0GA1UEBBMGU2Nob2NoMREwDwYDVQQqEwhQaGlsaXBwZTEY
MBYGA1UEAxMPUGhpbGlwcGUgU2Nob2NoMScwJQYJKoZIhvcNAQkBFhhwaGlsaXBwZS5zY2hv
Y2hAZXJnb24uY2gwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDkGIxu9RmE95KX
kuSmS+EJjtZ1H+ip99dSo94ThGhowhIslE2J6Z03v8tPXtBzHCPM/TQy3yYcRVKDX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