A: 
  1. Watir works with IE through OLE protocol. That is it cannot work the same way with Firefox. You need firewatir gem to test with Firefox.
  2. I didn't have much experience with firewatir. There were synchronization problems with browser. I may guess you have the same sync problems.
katmoon
+1  A: 

Your code looks good to me. I have similar code that works with both Firefox and IE. It is possible that you are running into a javascript issue with the particular page you are testing.

Bret Pettichord
A: 

Does this work?

br.text_field(:id,"login-popup-user").value=(user)
br.text_field(:id,"login-popup-pswd").value=(pswd)
Željko Filipin