turned off code to delete previous imports as it was not clicking the okay to delete dialog box, the code will run on my machine if it is run from a dos prompt

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3287 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-01-17 14:26:41 +00:00
parent f0adc3075d
commit 5c4dcdaeca

View File

@@ -50,7 +50,7 @@ ADID = '4550' #APEX admin identifier
WORKSPACE = 'MIP_TEST'
USER = 'ADMIN'
PASSWORD = 'password'
DELETE_PREVIOUS_IMPORTS = true
DELETE_PREVIOUS_IMPORTS = false
def importpageone (p_file, p_file_type, p_charset)
@@ie.link(:title, 'Application Builder').click
@@ -108,6 +108,10 @@ begin
# 'Western European Windows 1252')
if DELETE_PREVIOUS_IMPORTS
#er this code does not work from the Loordv001 box
#it will run on JP's machine if this code is run from a
#dos prompt - it's an issue with ruby trying to spawn a
#new thead to look for the open dialogue box
@@ie.link(:title, 'Manage Export Repository').click
@@ie.wait
@@ie.checkboxes.each { |c| c.set }