You can use select window here.
May be something of this type :-
Hope this helps,
-Ruchika
_______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest
---------[ Received Mail Content ]----------
Subject : [Webtest] RE: Verify second window contents?
Date : Tue, 4 Nov 2008 09:52:03 -0800
From : "Pham, Uyen" <[EMAIL PROTECTED]>
To : "Meng, Lily" <[EMAIL PROTECTED]>
Cc : <[EMAIL PROTECTED]>
Thanks Lily,
I thought about that approach (and of course it works), however, I just wonder if I can verify contents on the second window directly after clickLink without invoking the url.
Katie
-----Original Message-----
From: Meng, Lily [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 9:45 AM
To: Pham, Uyen
Subject: RE: Verify second window contents?
Katie,
Do you have the url of the "popup window"? Can you try to do "invoke" url and get to the second page? Also make sure the clickElement step works and it really takes you to the second page.
Lily
-----Original Message-----
From: Pham, Uyen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 11:38 AM
To: Meng, Lily; [EMAIL PROTECTED]
Subject: RE: Verify second window contents?
Hi Lily,
It's not gonna to work that way. After clickLink or clickElement, I only able to verify the text on the first window. This is like popup window, but not really.
Thanks
Katie
-----Original Message-----
From: Meng, Lily [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 9:26 AM
To: [email protected]; Pham, Uyen
Subject: RE: Verify second window contents?
Katie,
I think you can do:
clickLink or clickElement, then verifyText Webtest will follow the clickElement step and test the second window by default. Hope it works, Lily
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pham, Uyen
Sent: Tuesday, November 04, 2008 10:45 AM
To: [EMAIL PROTECTED]
Subject: [Webtest] Verify second window contents?
Hi,
I am new with the Webtest. Currently I have a problem of verifying the text of second window. When I click on a link or icon, and there is a second window appears on top of the first(current) window. It means the link or icon is gererated a different url. This is not a popup window.
Is there any way to verify text (content) in different window?
Any suggestion is helpful!
Thanks
Katie Pham
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

