summaryrefslogtreecommitdiffstats
path: root/testautomation/writer/tools
diff options
context:
space:
mode:
authorJoerg Skottke <jsk@openoffice.org>2009-12-11 14:27:57 +0000
committerJoerg Skottke <jsk@openoffice.org>2009-12-11 14:27:57 +0000
commit6ca7121e92d8c5ad00ea0232243b4c78b2b5753e (patch)
treee88363813fc0e9d08e7a693a275e75426e31b504 /testautomation/writer/tools
parentreverted previous changes (diff)
downloadcore-6ca7121e92d8c5ad00ea0232243b4c78b2b5753e.tar.gz
core-6ca7121e92d8c5ad00ea0232243b4c78b2b5753e.zip
jl146: #i107038 - The page is now centered so the workarounds for UNIX(like) OS are no longer required. Fixed one timing issue in a tools library
Diffstat (limited to 'testautomation/writer/tools')
-rwxr-xr-xtestautomation/writer/tools/includes/w_tool1.inc11
1 files changed, 7 insertions, 4 deletions
diff --git a/testautomation/writer/tools/includes/w_tool1.inc b/testautomation/writer/tools/includes/w_tool1.inc
index 19ef41a711de..4515c86811ec 100755
--- a/testautomation/writer/tools/includes/w_tool1.inc
+++ b/testautomation/writer/tools/includes/w_tool1.inc
@@ -343,17 +343,20 @@ sub sMenufunktionen(Fuer_Was as string)
Kontext
try
- FormatControl
- Sleep 1
+ FormatControl
+ WaitSlot()
+
Kontext "ControlPropertiesDialog"
- if ControlPropertiesDialog.Exists then
+ if ControlPropertiesDialog.Exists( 2 ) then
ControlPropertiesDialog.Close
+ ControlPropertiesDialog.notExists( 2 )
else
FormatControl
Wait 500
Kontext "ControlPropertiesDialog"
- if ControlPropertiesDialog.Exists then
+ if ControlPropertiesDialog.Exists( 2 ) then
ControlPropertiesDialog.Close
+ ControlPropertiesDialog.notExists( 2 )
else
Warnlog " - Controlfieldproperties "+ Fuer_Was +" from Menu not available!"
end if