Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

keeping the browser open after playblack

View previous topic View next topic Go down

keeping the browser open after playblack

Post by ducati1212 on 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.

ducati1212

Posts : 2
Join date : 2010-08-05

Back to top Go down

Re: keeping the browser open after playblack

Post by metman on 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.

metman
Amateur
Amateur

Posts : 58
Join date : 2010-04-02

Back to top Go down

Re: keeping the browser open after playblack

Post by ducati1212 on 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

ducati1212

Posts : 2
Join date : 2010-08-05

Back to top Go down

Re: keeping the browser open after playblack

Post by metman on 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.

metman
Amateur
Amateur

Posts : 58
Join date : 2010-04-02

Back to top Go down

Re: keeping the browser open after playblack

Post by lendrick on 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.

lendrick

Posts : 1
Join date : 2010-08-18

Back to top Go down

Re: keeping the browser open after playblack

Post by metman on 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.

metman
Amateur
Amateur

Posts : 58
Join date : 2010-04-02

Back to top Go down

Re: keeping the browser open after playblack

Post by Sponsored content Today at 8:50 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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