summaryrefslogtreecommitdiff
path: root/testautomation/framework/required/includes/tools_customize.inc
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-07-07 15:06:28 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-07-07 15:06:28 +0200
commit9d3fb56757b41358c0adddc9797527c41449de23 (patch)
treeb195fe0c1d4f4ae8747d81d619fe927638fb84a2 /testautomation/framework/required/includes/tools_customize.inc
parent9026ca45555e9374550ca2ffa3aad539a1518fc2 (diff)
automationdev300m84: #i112987 - Fixed failing access to dialog.
Diffstat (limited to 'testautomation/framework/required/includes/tools_customize.inc')
-rwxr-xr-xtestautomation/framework/required/includes/tools_customize.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/testautomation/framework/required/includes/tools_customize.inc b/testautomation/framework/required/includes/tools_customize.inc
index f84222da0144..2f7064055883 100755
--- a/testautomation/framework/required/includes/tools_customize.inc
+++ b/testautomation/framework/required/includes/tools_customize.inc
@@ -254,7 +254,7 @@ function hUpdtToolsCustomizeToolbars()
const MENUITEM_DELETE = 2
const MENUITEM_MODIFY = 4
- const DIALOG_DELAY = 2
+ const DIALOG_DELAY = 1
dim brc as boolean
dim iCurrentItem as integer
@@ -366,6 +366,7 @@ function hUpdtToolsCustomizeToolbars()
printlog( CFN & "Command button clicked successfully" )
kontext "CustomizeToolbarsRename"
+ UseBindings
wait( 100 )
if ( CustomizeToolbarsRename.exists( DIALOG_DELAY ) ) then
@@ -455,7 +456,7 @@ function hUpdtToolsCustomizeToolbars()
waitslot
kontext "TabCustomizeToolbars"
printlog( CFN & "Click the Modify-button" )
- if ( not hClickCommandButton( 3 ) ) then
+ if ( hClickCommandButton( 3 ) ) then
printlog( CFN & "Successfully selected modify-item on the command button" )
else
warnlog( CFN & "Something went wrong when accessing the command button" )