Supporting GUI-Specific Menu Hierarchies

When an application is ported, there are two common structural differences in the menu hierarchy:

To illustrate the case of the platform-specific menu, consider the Microsoft Windows system menu or a Vista menu (for example). Silk Test Classic recognizes these kinds of standard GUI- specific menus and includes the appropriate GUI specifier for them when you record declarations.

For menus that Silk Test Classic does not recognize as platform-specific, you should preface the window declaration with the appropriate GUI specifier.

Different menu items - example

To illustrate the case of different menu items, suppose that the Edit menu for the Text Editor application has a menu item named Clear which displays on the Windows version only. The declaration for the Edit menu should look like the following:
Classic Agent Open Agent
Menu Edit
   tag "Edit"
   msw32 MenuItem Clear
      tag "Clear"
   MenuItem Undo
      tag "Undo"
Menu Edit
   locator "Edit"
   msw32 MenuItem Clear
      locator "Clear"
   MenuItem Undo
      locator "Undo"