summaryrefslogtreecommitdiff
path: root/testautomation/framework/optional/includes/basic_spectemplate.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/framework/optional/includes/basic_spectemplate.inc')
-rw-r--r--[-rwxr-xr-x]testautomation/framework/optional/includes/basic_spectemplate.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/testautomation/framework/optional/includes/basic_spectemplate.inc b/testautomation/framework/optional/includes/basic_spectemplate.inc
index eeed6b047141..245eab9115c9 100755..100644
--- a/testautomation/framework/optional/includes/basic_spectemplate.inc
+++ b/testautomation/framework/optional/includes/basic_spectemplate.inc
@@ -25,7 +25,7 @@
'
'/******************************************************************************
'*
-'* owner : joerg.skottke@oracle.com
+'* owner : gregor.hartmann@oracle.com
'*
'* short description : Load the spec template via http and enable macros
'*
@@ -94,10 +94,12 @@ testcase tBasicSpecTemplate
printlog( "Load the file again" )
hFileOpen( cWorkFile )
hAllowMacroExecution()
+
+ ' This sleep here is needed after loading the document otherwise the document is closed too early during execution of the macros, which results in basic runtime error messagebox, that can not be handled.
+ SLEEP(1)
printlog( "Cleanup: Close the document and delete the file" )
hDestroyDocument()
hDeleteFile( cWorkFile )
-
endcase