diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-07-07 15:06:28 +0200 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-07-07 15:06:28 +0200 |
commit | 9d3fb56757b41358c0adddc9797527c41449de23 (patch) | |
tree | b195fe0c1d4f4ae8747d81d619fe927638fb84a2 /testautomation/framework/required/includes | |
parent | 9026ca45555e9374550ca2ffa3aad539a1518fc2 (diff) |
automationdev300m84: #i112987 - Fixed failing access to dialog.
Diffstat (limited to 'testautomation/framework/required/includes')
-rwxr-xr-x | testautomation/framework/required/includes/tools_customize.inc | 5 |
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" ) |