added code to delete previous installs, it actually just deletes all the installs on the first page, but this should be enough.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3283 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -27,6 +27,7 @@ ADID = '4550' #APEX admin identifier
|
||||
WORKSPACE = 'MIP_TEST'
|
||||
USER = 'ADMIN'
|
||||
PASSWORD = 'password'
|
||||
DELETE_PREVIOUS_IMPORTS = true
|
||||
|
||||
def importpageone (p_file, p_file_type, p_charset)
|
||||
@@ie.link(:title, 'Application Builder').click
|
||||
@@ -83,8 +84,13 @@ begin
|
||||
# 'CSS Export',
|
||||
# 'Western European Windows 1252')
|
||||
|
||||
|
||||
|
||||
if DELETE_PREVIOUS_IMPORTS
|
||||
@@ie.link(:title, 'Manage Export Repository').click
|
||||
@@ie.wait
|
||||
@@ie.checkboxes.each { |c| c.set }
|
||||
@@ie.button(:value, 'Delete Checked').click
|
||||
@@ie.wait
|
||||
end
|
||||
@@ie.close
|
||||
|
||||
rescue StandardError => anyerror
|
||||
|
||||
Reference in New Issue
Block a user