summaryrefslogtreecommitdiff
path: root/testautomation/graphics
diff options
context:
space:
mode:
authorWolfram Garten [wg] <Wolfram.Garten@oracle.com>2011-01-20 11:48:54 +0100
committerWolfram Garten [wg] <Wolfram.Garten@oracle.com>2011-01-20 11:48:54 +0100
commite1d86afd7a7d9b2d45c3fe0fd8955bcf5993627e (patch)
tree0af44ea14506f3b9677080ed78a4117a8f54a9f4 /testautomation/graphics
parentcdd4426cb79665f8dd2a410d666c768286cfa269 (diff)
i116531:[Automation]: g_Clipboard.inc, tiEditUndo delets file before it is closed.
Diffstat (limited to 'testautomation/graphics')
-rw-r--r--testautomation/graphics/optional/includes/global/g_clipboard.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/testautomation/graphics/optional/includes/global/g_clipboard.inc b/testautomation/graphics/optional/includes/global/g_clipboard.inc
index d43c49610..7d2ce37a1 100644
--- a/testautomation/graphics/optional/includes/global/g_clipboard.inc
+++ b/testautomation/graphics/optional/includes/global/g_clipboard.inc
@@ -128,6 +128,7 @@ testcase tiEditUndo
end if
TabPositionAndSize.Cancel
printlog "Close document"
+ Call hCloseDocument
sLocaltestfile = hFileGetLocalPath( gTesttoolPath + "leer."+ExtensionString )
printlog sLocaltestfile
if (FileExists (sLocaltestfile)) then
@@ -136,10 +137,7 @@ testcase tiEditUndo
else
warnlog "File is missing."
endif
-
- printlog "Close document"
- Call hCloseDocument
-
+
endcase 'tiEditUndo
'-------------------------------------------------------------------------------