From 283dcd1e6fa6e1670b869632d319f6a1d97d1b01 Mon Sep 17 00:00:00 2001 From: "jamie.priest" Date: Tue, 18 Aug 2009 17:12:31 +0000 Subject: [PATCH] updated Watir install scripts to work with the latest version of Watir (1.6.2) git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@12272 248e525c-4dfb-0310-94bc-949c084e9493 --- Data/Test/apex_auto_install.rb | 10 +++------- Data/fat/apex_auto_install.rb | 6 +----- Data/uat/apex_auto_install.rb | 6 +----- 3 files changed, 5 insertions(+), 17 deletions(-) diff --git a/Data/Test/apex_auto_install.rb b/Data/Test/apex_auto_install.rb index b52d1e1..6b703a0 100644 --- a/Data/Test/apex_auto_install.rb +++ b/Data/Test/apex_auto_install.rb @@ -1,5 +1,6 @@ # #requires require 'watir' +require 'watir/ie' # #email stuff require 'net/smtp' @@ -23,12 +24,7 @@ def startClicker( button , waitTime = 3) w=nil end - - - -# #includes -include Watir -@@ie = IE.new +@@ie = Watir::IE.new @@ie.visible= true # #set the speed of watir @@ie.speed = :fast @@ -80,7 +76,7 @@ end # # this doesn't work as the P107_COMPANY is a javascript screen pop up thingy def associateschema(p_workspace, p_schema) - login('INTERNAL','ADMIN','password') + login('INTERNAL','ADMIN','dev10g') @@ie.link(:title,'Manage Workspaces').click @@ie.wait @@ie.link(:title,'Manage Workspace to Schema Assignments').click diff --git a/Data/fat/apex_auto_install.rb b/Data/fat/apex_auto_install.rb index a865934..621befe 100644 --- a/Data/fat/apex_auto_install.rb +++ b/Data/fat/apex_auto_install.rb @@ -1,5 +1,6 @@ #requires require 'watir' +require 'watir/ie' #email stuff require 'net/smtp' @@ -23,11 +24,6 @@ def startClicker( button , waitTime = 3) w=nil end - - - -#includes -include Watir @@ie = IE.new @@ie.visible= true #set the speed of watir diff --git a/Data/uat/apex_auto_install.rb b/Data/uat/apex_auto_install.rb index 3c40f78..82fb7cb 100644 --- a/Data/uat/apex_auto_install.rb +++ b/Data/uat/apex_auto_install.rb @@ -1,5 +1,6 @@ #requires require 'watir' +require 'watir/ie' #email stuff require 'net/smtp' @@ -23,11 +24,6 @@ def startClicker( button , waitTime = 3) w=nil end - - - -#includes -include Watir @@ie = IE.new @@ie.visible= true #set the speed of watir