In WorkShop Visual Replay, the widget name is what you use to reference a widget. One of the main tasks for any widget-based testing tool is identifying the right widget. The naming convention must be unambiguous, without being over-complicated.
Here are the rules used by WorkShop Visual Replay:
in ApplicationShell
push mywidget
in ApplicationShell
push myradiobox.mytogglebuttongadget
in ApplicationShell
push myradiobox.unnamed
in ApplicationShell
push mywidget#17
push myradiobox.unnamed#3
push myradiobox#2.unnamed#2
in ApplicationShell
tree ApplicationShell
This outputs a recursive listing of the widget hierarchy. The listing contains the actual widget name, and in parenthesis, the name you should use for WorkShop Visual Replay, if it is different from the actual name.
in myshell#2
push button1
in myshell#3
push button2
See also: