I don't think it is the code I'm using. I think it may be gems that
are incompatible with my version of Ruby and or Win7 I'm using.
My intention is to uninstall/reinstall to the version I have running
on my XP laptop.
require 'watir'
require 'date'
require "../properties/TemplateProperties"
# Create a new browser
b=Watir::Browser.new()
# Go to the test site
b.goto(properties.getUrl)
b.text_field(:id, 'USERID').set(properties.getUsername)
b.text_field(:id, 'PASSWORD').set(properties.getPassword)
puts b.text_field(:id, 'USERID').value + (' has logged on.')
sleep 5
b.button(:id => 'NEXT', :index =>2).click()
--
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]