1 'encoding UTF-8 Do not remove or change this line!
2 '**************************************************************************
3 ' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 ' Copyright 2000, 2010 Oracle and/or its affiliates.
7 ' OpenOffice.org - a multi-platform office productivity suite
9 ' This file is part of OpenOffice.org.
11 ' OpenOffice.org is free software: you can redistribute it and/or modify
12 ' it under the terms of the GNU Lesser General Public License version 3
13 ' only, as published by the Free Software Foundation.
15 ' OpenOffice.org is distributed in the hope that it will be useful,
16 ' but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ' GNU Lesser General Public License version 3 for more details
19 ' (a copy is included in the LICENSE file that accompanied this code).
21 ' You should have received a copy of the GNU Lesser General Public License
22 ' version 3 along with OpenOffice.org. If not, see
23 ' <http://www.openoffice.org/license.html>
24 ' for a copy of the LGPLv3 License.
26 '/***********************************************************************
28 '* owner : oliver.craemer@oracle.com
30 '* short description : Resource Test - Help Menu
32 '************************************************************************
38 '\***********************************************************************
42 Printlog Chr(13) + "--------- Help Menu (c_upd_helpmenu.inc) ---------"
51 '-----------------------------------------------------------
53 testcase tHelpOfficeHelp
54 '///<u><b>Help – Star-/OpenOffice Help</b></u>
56 '/// Opening new spreadsheet document for getting defined starting environment
57 printlog " Opening new spreadsheet document for getting defined starting environment"
59 '/// Open the help application by 'Help – Star-/OpenOffice Help'
60 printlog " Open the help application by 'Help – Star-/OpenOffice Help'"
62 Kontext "StarOfficeHelp"
63 '/// Close help application
64 printlog " Close help application"
65 StarOfficeHelp.TypeKeys "<Mod1 F4>"
66 If StarOfficeHelp.Exists then
67 warnlog "StarOffice Help could not be closed?!"
69 '/// Close starting document
70 printlog " Close starting document"
75 '-----------------------------------------------------------
77 testcase tHelpWhatsThis
78 '///<u><b>Help – What's This?</b></u>
80 '/// Open new Spreadsheet document
81 printlog " Open new Spreadsheet document"
83 '/// Invoke the 'What's this help' by 'Help – What's This?'
84 printlog " Invoke the 'What's this help' by 'Help – What's This?'"
87 printlog " Close document"
92 '-----------------------------------------------------------
95 '///<u><b>Help – About</b></u>
97 '/// Open new Spreadsheet document
98 printlog " Open new Spreadsheet document"
100 '/// Open the 'About' window by 'Help – About Star-/OpenOffice'
101 printlog " Open the 'About' window by 'Help – About Star-/OpenOffice'"
103 Kontext "UeberStarWriter"
104 DialogTest ( UeberStarWriter )
105 '/// Show build-ID and members by STRG-SDT
106 printlog " Show build-ID and members by STRG-SDT"
107 UeberStarWriter.TypeKeys "<Mod1 S><Mod1 D><Mod1 T>"
108 '/// Close dialog with 'OK'
109 printlog " Close dialog with 'OK'"
112 printlog " Close document"
117 '-----------------------------------------------------------