diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2009-10-01 11:19:42 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2009-10-01 11:19:42 +0000 |
commit | e6c0c6f0a6fc392d3e4775cfba57cd29ed74a29e (patch) | |
tree | 604a32e31f01fe50a59d1a04c112b01f719cb572 /testautomation/chart2/required | |
parent | 541434c445bc4c7e70b79bca22171228592d6830 (diff) |
CWS-TOOLING: integrate CWS automationdev300m58cat0
2009-09-29 14:46:30 +0200 oc r276530 : #i105448# sleep added to resolv timingproblem
2009-09-28 10:29:46 +0200 oc r276482 : #i105404# t_ToolsMacro needs saved file
2009-09-27 10:51:09 +0200 tbo r276478 : #105393# on MacOS X only 3 items in tools menu
2009-09-25 18:02:25 +0200 oc r276473 : CWS-TOOLING: rebase CWS automationdev300m58cat0 to trunk@276429 (milestone: DEV300:m60)
2009-09-24 11:06:00 +0200 hde r276411 : save test-files locally
2009-09-23 15:40:07 +0200 hde r276400 : deleting of autotext optimized
2009-09-23 15:39:20 +0200 hde r276399 : Dialog 'Bereiche' opened after deleting autotext
2009-09-23 10:42:26 +0200 jsk r276370 : Added warnlog for exceeded timeout, i want the test to warn instead of aborting. Connected issue is #i105289#
2009-09-22 10:41:22 +0200 oc r276347 : #i105254# c_arrayconstants.inc enhanced
2009-09-21 20:37:26 +0200 tbo r276344 : #i105249# workaround firststartwizard regression by calling hDisableQuickstarterAPI()
2009-09-17 10:55:59 +0200 wg r276231 : i105141
2009-09-16 09:20:58 +0200 oc r276191 : #i105109# sleeps increased
Diffstat (limited to 'testautomation/chart2/required')
-rw-r--r-- | testautomation/chart2/required/includes/ch2_menu.inc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testautomation/chart2/required/includes/ch2_menu.inc b/testautomation/chart2/required/includes/ch2_menu.inc index 5d6105f0f458..df03c4dcabb8 100644 --- a/testautomation/chart2/required/includes/ch2_menu.inc +++ b/testautomation/chart2/required/includes/ch2_menu.inc @@ -50,6 +50,10 @@ testcase tMainMenu dim iHelpMenuItemCount as integer iHelpMenuItemCount = 5 : if ( gPlatform = "osx" ) then iHelpMenuItemCount = 4 + dim iToolsMenuItemCount as integer + iToolsMenuItemCount = 4 : if ( gPlatform = "osx" ) then iToolsMenuItemCount = 3 + 'Options entry is called Preferences and resides in application MacOS X menu + printlog "Close all document windows (File / Close)" Do Until GetDocumentCount = 0 Call hCloseDocument @@ -173,12 +177,12 @@ testcase tMainMenu warnlog "There should 8 items in the FORMAT/Title menu but there are " + iCount + " items." end if - printlog "check if there are 4 items in the TOOLS menu." + printlog "check if there are " + iToolsMenuItemCount + " items in the TOOLS menu." DocumentCalc.UseMenu hMenuSelectNr(6) iCount = hMenuItemGetCount() - if (iCount <> 4) then - warnlog "There should 4 items in the tools menu but there are " + iCount + " items." + if (iCount <> iToolsMenuItemCount) then + warnlog "There should " + iToolsMenuItemCount + " items in the tools menu but there are " + iCount + " items." end if call hMenuClose() |