Hi,

I just got a new Windows 7 64bit workstation and I cannot get IE to supply 
credentials.  

IE loads, but stops once it hits:   text_field(:name, "usr").set("my_login")

This worked on my previous workstation, but I have slightly newer software 
on the new workstation.  ( see versions below )

Also, this script works on my new workstation with FireFox, just not IE.

Does anyone have any suggestions?

Thanks,
AC

#--------------------------------------------------------

require 'rubygems'
# require 'watir-webdriver'  # used for FireFox
require 'watir' # used for IE

browser = Watir::Browser.new
browser.goto "https://internalwebsite...";
browser.text_field(:name, "usr").set("my_login")   # <- not working
browser.text_field(:name, "pwd").set("my_password")
browser.button(:value, "Log On").click


#--------------------------------------------------------

 

NON-Working environment:  
( 64bit Windows 7, IE 8 )
C:\Ruby193\bin>ruby -v
ruby 1.9.3p392 (2013-02-22) [i386-mingw32]

C:\Ruby193\bin>gem list

*** LOCAL GEMS ***

bigdecimal (1.1.0)
builder (3.2.0)
childprocess (0.3.9)
commonwatir (4.0.0)
ffi (1.4.0 x86-mingw32)
hoe (3.5.1)
io-console (0.3)
json (1.5.5)
mini_magick (3.5.0)
minitest (2.5.1)
multi_json (1.6.1)
nokogiri (1.5.6 x86-mingw32)
rake (0.9.2.2)
rautomation (0.8.0)
rdoc (3.9.5)
rubygems-update (2.0.3)
rubyzip (0.9.9)
s4t-utils (1.0.4)
selenium-webdriver (2.31.0)
subexec (0.2.2)
user-choices (1.1.6.1)
watir (4.0.2 x86-mingw32)
watir-classic (3.5.0)
watir-webdriver (0.6.2)
websocket (1.0.7)
win32-api (1.4.8 x86-mingw32)
win32-process (0.7.1)
win32screenshot (1.0.8)
windows-api (0.4.2)
windows-pr (1.2.2)
xml-simple (1.1.2)

C:\Ruby193\bin>

 

Working environment:  
( 32bit Windows 7, IE 8 )

C:\Ruby\Ruby193\bin>ruby -v
ruby 1.9.3p0 (2011-10-30) [i386-mingw32]

C:\Ruby\Ruby193\bin>gem list

*** LOCAL GEMS ***

bigdecimal (1.1.0)
builder (3.0.0)
childprocess (0.3.9, 0.2.3)
commonwatir (4.0.0, 2.0.4)
ffi (1.0.11)
hoe (2.12.4)
io-console (0.3)
json (1.5.4)
mini_magick (3.5.0)
minitest (2.5.1)
multi_json (1.0.4)
nokogiri (1.5.0 x86-mingw32)
rake (0.9.2.2)
rautomation (0.8.0, 0.6.3)
rdoc (3.9.4)
rubygems-update (1.8.12)
rubyzip (0.9.5)
s4t-utils (1.0.4)
selenium-webdriver (2.31.0, 2.14.0)
subexec (0.2.2)
user-choices (1.1.6.1)
watir (4.0.2 x86-mingw32, 2.0.4)
watir-classic (3.5.0)
watir-webdriver (0.4.0)
websocket (1.0.7)
win32-api (1.4.8 x86-mingw32)
win32-process (0.6.5)
win32screenshot (1.0.8)
windows-api (0.4.0)
windows-pr (1.2.1)
xml-simple (1.1.1)

C:\Ruby\Ruby193\bin>

 

 

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to