jadooman / robotframework-seleniumlibrary

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

"Close Browser" keyword using Selenium RC2 in Win 7 32 bit template IE 9.0, open up a new window #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am using Robot, specification:
robot framework selenium library 2.8.1
Python 2.7
 While running a single set of tests I am specifying close browser as follows, it closes the browser, but opens up an empty instance of a new browser.
Here is my test case: Please note that I have suite level _init_ file where I 
am specifying starting and stopping selenium Server as suite setup and tear down
Test Suite level _init_, where I am specifying the suite related Setup and 
Teardown. 
and in testcase level here is my _init_ content:

#
#          Suite initialization file contains Suite and test#
#          level Setup and Teardown                         #
#

*** Settings ***
Resource       common_resource.txt
Resource       admin_roles_imports.txt 
Resource       admin_role_keywords.txt

Suite Setup      Run Keywords     Open MC
...                            Log on as User Admin

Suite Teardown    Run Keywords    Delete Created User
...                            Logout MC 
...                            Close Browser   

Original issue reported on code.google.com by urmimaju...@gmail.com on 6 Aug 2012 at 5:41

GoogleCodeExporter commented 9 years ago
Actually, the other browser may be the selenium controller window, it just 
cannot be seen when the actual browser is open. The inability to close the 
window is unfortunately a limitation in Selenium itself with Internet Explorer, 
and there's nothing we can do to fix it.

If I have understood correctly, this should not be a problem with the 
selenium2library: https://github.com/rtomac/robotframework-selenium2library

Original comment by janne.t....@gmail.com on 27 Aug 2012 at 12:50