Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
ducati1212
Posts : 2
Join date : 2010-08-05

keeping the browser open after playblack Empty keeping the browser open after playblack

Thu Aug 05, 2010 2:59 am
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.
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

keeping the browser open after playblack Empty Re: keeping the browser open after playblack

Thu Aug 05, 2010 11:19 pm
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.
avatar
ducati1212
Posts : 2
Join date : 2010-08-05

keeping the browser open after playblack Empty Re: keeping the browser open after playblack

Sat Aug 07, 2010 1:44 am
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
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

keeping the browser open after playblack Empty Re: keeping the browser open after playblack

Wed Aug 11, 2010 7:55 am
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.
avatar
lendrick
Posts : 1
Join date : 2010-08-18

keeping the browser open after playblack Empty Re: keeping the browser open after playblack

Wed Aug 18, 2010 4:13 am
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.
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

keeping the browser open after playblack Empty Re: keeping the browser open after playblack

Fri Aug 20, 2010 8:06 am
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.
Sponsored content

keeping the browser open after playblack Empty Re: keeping the browser open after playblack

Back to top
Permissions in this forum:
You cannot reply to topics in this forum