keeping the browser open after playblack
Page 1 of 1 • Share •
keeping the browser open after playblack
Just trying out selenium rc using eclipse and java and I am finding it annoying that the browser is closed after test run. I dont see any way to control this im sure its very simple.
Any help telling selenium rc in eclipse to leave browser open after playback would be great.
Any help telling selenium rc in eclipse to leave browser open after playback would be great.
ducati1212- Posts: 2
Join date: 2010-08-05
Re: keeping the browser open after playblack
Why would you want this? It kind of defeats the purpose of automation to some extent. If you are trying to test your scripts, try using breakpoints or long sleeps instead.
metman- Amateur

- Posts: 58
Join date: 2010-04-02
Re: keeping the browser open after playblack
I don't think it defeats the purpose at all but thank you for your input.
I would rather a selenium.close() at the end that I can control than the auto close. just a preference
I would rather a selenium.close() at the end that I can control than the auto close. just a preference
ducati1212- Posts: 2
Join date: 2010-08-05
Re: keeping the browser open after playblack
What in specific are you trying to do though? While I don't think the functionality you are looking for in specific is availalbe, there may be another mechanism that can get you the information you are looking for.
metman- Amateur

- Posts: 58
Join date: 2010-04-02
Re: keeping the browser open after playblack
You'd want to do that because it would be useful for debugging tests that have been written in other languages and thus can't be run on the IDE. I'm having a test in PHP fail on me (it was originally made in the IDE, but I exported it to PHP code), and I'd really like to be able to look at the browser and figure out *why* this is happening, but the browser gets killed as soon as the error occurs.
lendrick- Posts: 1
Join date: 2010-08-18
Re: keeping the browser open after playblack
Well, for your case, if you are using an IDE for PHP, you should be able to utilize break points, step through, and other IDE tools to debug your tests. Or in the least, output to a file or some other mechanism to record what is going on moment to moment. Or, hack it by tacking on a waitforpagetoload at the end with a really long timeout.
metman- Amateur

- Posts: 58
Join date: 2010-04-02
Similar topics» keeping the browser open after playblack
» How to open new window or new tab in browser using Selenium IDE
» do not run browser, when start selenium testing
» RC Browser closed in the middle of execution
» Passing browser (Name/Id/Title) opened by Selenium to Webdriver
» How to open new window or new tab in browser using Selenium IDE
» do not run browser, when start selenium testing
» RC Browser closed in the middle of execution
» Passing browser (Name/Id/Title) opened by Selenium to Webdriver
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
» sample webdriver code for php users
» which standalone server to use
» Dynamic Drop Down Selection
» It is possible to find list of all URL's exist in any web page in selenium ide
» It is possible to compare 2 same images in selenium IDE.
» how to compare 2 ULR's which is exist in same web page (View page source).
» Web Driver: Unable to click a link present inside the frame of a frameset
» Help me to get dynamicaly loaded options of dropdown in Selenium RC -Junit test case