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
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
# #requires
|
# #requires
|
||||||
require 'watir'
|
require 'watir'
|
||||||
|
require 'watir/ie'
|
||||||
# #email stuff
|
# #email stuff
|
||||||
require 'net/smtp'
|
require 'net/smtp'
|
||||||
|
|
||||||
@@ -23,12 +24,7 @@ def startClicker( button , waitTime = 3)
|
|||||||
w=nil
|
w=nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ie = Watir::IE.new
|
||||||
|
|
||||||
|
|
||||||
# #includes
|
|
||||||
include Watir
|
|
||||||
@@ie = IE.new
|
|
||||||
@@ie.visible= true
|
@@ie.visible= true
|
||||||
# #set the speed of watir
|
# #set the speed of watir
|
||||||
@@ie.speed = :fast
|
@@ie.speed = :fast
|
||||||
@@ -80,7 +76,7 @@ end
|
|||||||
#
|
#
|
||||||
# this doesn't work as the P107_COMPANY is a javascript screen pop up thingy
|
# this doesn't work as the P107_COMPANY is a javascript screen pop up thingy
|
||||||
def associateschema(p_workspace, p_schema)
|
def associateschema(p_workspace, p_schema)
|
||||||
login('INTERNAL','ADMIN','password')
|
login('INTERNAL','ADMIN','dev10g')
|
||||||
@@ie.link(:title,'Manage Workspaces').click
|
@@ie.link(:title,'Manage Workspaces').click
|
||||||
@@ie.wait
|
@@ie.wait
|
||||||
@@ie.link(:title,'Manage Workspace to Schema Assignments').click
|
@@ie.link(:title,'Manage Workspace to Schema Assignments').click
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#requires
|
#requires
|
||||||
require 'watir'
|
require 'watir'
|
||||||
|
require 'watir/ie'
|
||||||
#email stuff
|
#email stuff
|
||||||
require 'net/smtp'
|
require 'net/smtp'
|
||||||
|
|
||||||
@@ -23,11 +24,6 @@ def startClicker( button , waitTime = 3)
|
|||||||
w=nil
|
w=nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#includes
|
|
||||||
include Watir
|
|
||||||
@@ie = IE.new
|
@@ie = IE.new
|
||||||
@@ie.visible= true
|
@@ie.visible= true
|
||||||
#set the speed of watir
|
#set the speed of watir
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#requires
|
#requires
|
||||||
require 'watir'
|
require 'watir'
|
||||||
|
require 'watir/ie'
|
||||||
#email stuff
|
#email stuff
|
||||||
require 'net/smtp'
|
require 'net/smtp'
|
||||||
|
|
||||||
@@ -23,11 +24,6 @@ def startClicker( button , waitTime = 3)
|
|||||||
w=nil
|
w=nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#includes
|
|
||||||
include Watir
|
|
||||||
@@ie = IE.new
|
@@ie = IE.new
|
||||||
@@ie.visible= true
|
@@ie.visible= true
|
||||||
#set the speed of watir
|
#set the speed of watir
|
||||||
|
|||||||
Reference in New Issue
Block a user