Rajesh,
How does it matter if the link opens up in a new tab or a new window ? AFAIK these two are just two different presentations that the browser offers for ease of use for the users.
I don’t think it really matters if it’s a tab or a new window. To the browser and for that matter, to selenium, it’s the same thing.
I believe there’s a setting in IE wherein you can have IE always resort to opening new windows as tabs. Maybe its that setting that’s interfering here.
All said and done, your selenium script should be agnostic to this because in both the cases, the behavior would be the same w.r.t Selenium.
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/ce3b87f0-75bc-49ce-abba-71ee7856e99a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Am not sure I quite understand the problem. Are you saying that you aren't able to switch to the new tab using switchTo().window() ?
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/905c0494-d110-4441-8c8d-8b5567145999%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.