MuraliKola / robotframework-seleniumlibrary

Automatically exported from code.google.com/p/robotframework-seleniumlibrary
Apache License 2.0
1 stars 0 forks source link

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

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by sharifud...@gmail.com on 28 Sep 2011 at 8:45

GoogleCodeExporter commented 8 years ago
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?

Original comment by janne.t....@gmail.com on 17 Oct 2011 at 5:21

GoogleCodeExporter commented 8 years ago
Closing due to lack of information

Original comment by janne.t....@gmail.com on 15 Dec 2011 at 6:59