The solution was to add -browserSessionReuse to the command line to start the rc server.
Thursday, March 4, 2010
Selenium RC
I just wanted to post a little blurb about something that selenium rc does that caught me. When you write a suite of tests using the IDE the tests run sequentially in the browser and everything works great. However, when you export each test to java for junit, and then export the suite, and try to run the suite, the tests open a new browser for each test. This can cause the tests to fail if the next test depends on the browse to be in the state that it was left in from the previous test.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment