Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
ContextMenu[Test][TestAction] - test a context menu action
Calling Sequence
Test[TestAction](action, expr)
Parameters
action
-
list(string); action from context menu
expr
anything; expression that generates menu
Description
The Test[TestAction] command tests the result of executing the action specified by action in the context menu generated for the expression expr.
The parameter action, a list of strings, represents the sequence of nested menus that must be followed in the context-sensitive menu in order to select this action. For example, to simulate the selection of the first element of the list using context-sensitive menus, enter Test[TestAction](["Select Element", "1"], [1,2,3]).
The result returned by TestAction is a string, which represents the value that is returned to the worksheet if the action action is selected using context-sensitive menus.
Examples
See Also
ContextMenu, ContextMenu[Test], ContextMenu[Test][GetGeneratedMenu], ContextMenu[Test][ListMenuEntries]
Download Help Document