diff options
author | Thorsten Bosbach <tbo@OpenOffice.org> | 2010-08-03 17:40:56 +0200 |
---|---|---|
committer | Thorsten Bosbach <tbo@OpenOffice.org> | 2010-08-03 17:40:56 +0200 |
commit | ac503a3e7766036573dc333e8b8bc5ca01a53647 (patch) | |
tree | 5c9854c5f73991774ed6288146b6546059be7d26 /testautomation/framework | |
parent | cc1754cc574f5b4575a6c062c1028d14af346ffb (diff) |
#i113609# sleep is needed after loading document to give time for macro execution
Diffstat (limited to 'testautomation/framework')
-rwxr-xr-x | testautomation/framework/optional/includes/basic_spectemplate.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testautomation/framework/optional/includes/basic_spectemplate.inc b/testautomation/framework/optional/includes/basic_spectemplate.inc index 35e541a642a2..3322553c72a9 100755 --- a/testautomation/framework/optional/includes/basic_spectemplate.inc +++ b/testautomation/framework/optional/includes/basic_spectemplate.inc @@ -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 |