Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 228197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:39:43+00:00 2026-05-11T19:39:43+00:00

I have an application with a bunch of cucumber tests, and I tried using

  • 0

I have an application with a bunch of cucumber tests, and I tried using selenium with it today. It took a bit, but I got it running, it starts up selenium, uses the correct database and everything, but everybody has a wrong password.

I can see the user getting created, I can log the password and see that it’s the correct password, but every test user just gets redirected back to the login page with the incorrect username/password error.

Is this a Selenium problem, or some other dependent system or am I missing something? It works fine with the standard :rails webrat mode.

I run the task as

rake features
  • Ubuntu 9.04
  • machinist 0.3.1
  • Selenium 1.1.14
  • Firefox 3.0.10
  • ruby 1.8.7-p160
  • cucumber 0.3.7

EDIT: Now, after a restart (office reorg) it won’t run tests at all. Firefox just starts, and shuts down, then everything fails.

14:13:25.141 ERROR - Failed to start new browser session, shutdown browser an clear all session data
org.openqa.selenium.server.RemoteCommandException: timed out waiting for window 'null' to appear

I’ve tried updating the selenium-server.jar from the latest version, and no dice.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T19:39:43+00:00Added an answer on May 11, 2026 at 7:39 pm
    Cucumber::Rails.use_transactional_fixtures
    

    Was the culprit. In selenium you can’t have transactional fixtures, so writing cucumber steps will be a bit more fun, but whatever. Commenting out the above line fixes the password problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Greetings. I have a .NET application running a bunch of simulations in parallel. It's
Using c# vs2008 winforms I have an application with a bunch of child winforms.
I have an application running in tomcat that has a bunch of configuration files
I have a web application with bunch of HTML code. There are some style-attributes
I have an application with some bunch of code like this: errCode = callMainSystem();
I have an application settings page with a bunch of checkboxes. How should I
I have a WinForms application with a bunch of third party references. This makes
I have an application that is mainly a bunch of PHP files included in
I have a J2EE application front-ended by a bunch of GWT pages. When the
I have a web application that contains a bunch of classes in the App_Code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.