Issue 80240 - Testtool: Allow accessing menuentries by ID instead of index
Summary: Testtool: Allow accessing menuentries by ID instead of index
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-01 08:15 UTC by joerg.skottke
Modified: 2017-05-20 10:48 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description joerg.skottke 2007-08-01 08:15:19 UTC
With the extensions becoming more important now we need a new way of accessing
menu entries.. 

Extensions might change the number and order of items presented in context menus
effectively breaking our current methods to access items by their index
(position in the menu).

Please develop a solution that would allow us to access the items. Please make
sure that:
a) The solution actually opens the menu (this is a test itself)
b) The ID is unique for a menu and it does not matter where in the menu the entry is
c) Use speaking names for the items

Nice to have (might be implemented later, but should be provided at some point):
d) If possible provide the means to retrieve the index (integer) of a selected
menuitem 
    e.g. something like: contextmenu.copy.getIndex()
e) Get the id (string) of the selected menuitem
f) Get the name of the selected menuitem
g) If possible allow to get a boolean value for "Menuitem has icon"
h) If the entry has a checkbox, allow to retrieve the state

For the "Nice to have" we can write another Issue with lower priority if need
be. However, as there is work to be done on the menus anyway it might be
suitable to implement these features in one go with the others.
Comment 1 gregor.hartmann 2007-11-30 12:21:48 UTC
moved to 3.0
Comment 2 gregor.hartmann 2008-07-31 11:26:40 UTC
set target to 3.1
Comment 3 gregor.hartmann 2009-03-03 15:10:09 UTC
die to lack of time -> 3.2
Comment 4 joerg.skottke 2009-10-01 12:15:19 UTC
Target -> 3.3
Comment 5 thorsten.ziehm 2010-11-08 14:57:01 UTC
OOo 3.3 is nearly final. Therefore I change the target of this issue to OOo 3.x.
Comment 6 thorsten.ziehm 2010-11-08 14:57:27 UTC
now changed the target ;-(
Comment 7 Marcus 2017-05-20 10:48:01 UTC
Reset assigne to the default "issues@openoffice.apache.org".