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.
| 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"
|