How to close Selenium Remote Control Window?

439 views
Skip to first unread message

Geoffrey Levaray

unread,
Mar 5, 2010, 6:07:59 AM3/5/10
to Selenium Users
Hi everybody !

Before my message, sorry for my poor english and my future grammatical
mistakes.

So, I use Selenium RC in order to process automatic tests in
professional context. And i have to override the methode tearDown, in
order to execute actions after the test.

But when I override the method, i'm not able to close the window which
contains the Selenium Server, with title : "Selenium Remote Control".

How can I do in order to automatically close the browser, and
particularly this window ?

darrell

unread,
Mar 5, 2010, 12:47:08 PM3/5/10
to Selenium Users
Depends on which language you are using. If you are using Java then
typically you would inherit the SeleneseTestCase and call
super.tearDown() at the start of your tearDown(). You can either do
this or have a look at what SeleneseTestCase.tearDown() does and put
that code in your tearDown().

Geoffrey Levaray

unread,
Mar 8, 2010, 3:58:43 AM3/8/10
to Selenium Users
Thans. I've looked for the Java code on the net, but what i found was
useless.

Nevertheless, the call of super.teardown has solved the problem. Thx !

Geoffrey Levaray

unread,
Mar 8, 2010, 3:58:54 AM3/8/10
to Selenium Users
Thans. I've looked for the Java code on the net, but what i found was
useless.

Nevertheless, the call of super.teardown has solved the problem. Thx !

On 5 mar, 18:47, darrell <darrell.grain...@gmail.com> wrote:

Jerald paul

unread,
Mar 8, 2010, 4:16:07 AM3/8/10
to seleniu...@googlegroups.com
Just make your class extends SeleneseTestCase. This should solve your problem. If you want more to done inside the teardown method add super() call and then do add your stuff after this.

Thanks and Kind Regards
jerald



--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.


praggers

unread,
Mar 8, 2010, 11:11:57 AM3/8/10
to Selenium Users
Use

self.selenium.shut_down_selenium_server()

to shut down the server

Reply all
Reply to author
Forward
0 new messages