You might need to treat the new window as pop up and use the windowId to
select the window and perform the assertions. You can get more information
about this on the following.

http://stackoverflow.com/questions/99045/handling-browser-pop-up-windows-with-selenium
http://epyramid.wordpress.com/2009/04/23/selenium-rc-and-pop-up-handling/


I hope this helps
-Haroon

On 17 September 2010 12:07, Alisha Rai <[email protected]> wrote:

> Hi guys,
>
> I want to know is there any method which can be used to verify that on
> click event of an element other browser opened a web page successfully.
>
> Actually, in my case..when i am clicking on an element..some image should
> be opened in another window. It's opened, but how to verify that.
>
> Following didn't work:
>
> assertTrue(app.getPageText("Image data"));
>
>
> Please help.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "tellurium-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<tellurium-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/tellurium-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to