robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

On Clicking Link a New Browser Window Is not Recognized by Robot. #205

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by sharifuddinnadeem on 28 Sep 2011

I am clicking on a link new browser on Current Window "Harness" and that opens up another fire fox browser window with title "New Browser"

This "New Browser" window may be a Popup Window or Normal Window. I have no clue. But When I am using Select Window Keyword , robot report gives error that Window "New Browser" is not found.

Can some body suggest me how to recognize new window in selenium library.

Here is my test case: Open Browser http://qsiwebgeneric/logIn.jsp firefox Select Window Harness Click Link New Browser (it will open up new browser) Select Window New Browser (it's failing here.

spooning commented 9 years ago

Originally submitted to Google Code by @yanne on 16 Oct 2011

If the opened browser window is actually a separate process (= new, independent browser instance), there's no way for Selenium to get control of it. If the window is opened by JavaScript, Select Window should work.

Can you attach selenium-server.log that is written to your output directory?

spooning commented 9 years ago

Originally submitted to Google Code by @yanne on 14 Dec 2011

Closing due to lack of information