This functionality is supported only if you are using the Classic Agent.
When you are preparing test scripts to run with the SilkBean, keep the following tips in mind:
Additional considerations when testing AWT
- If your application contains Abstract Windowing Toolkit (AWT) menus or AWT menu items, modify your declarations for these controls in a new test frame file as follows:
If the AWT declaration is …
|
Change the declaration to …
|
Menu
|
JavaAwtMenu
|
MenuItem
|
JavaAwtMenuItem
|
- If you are testing AWT controls, do not use low-level methods to simulate mouse and keyboard events. Due to the limitations of platform-specific implementations of AWT controls, low-level events are not supported. Instead, use high-level methods when possible.
Java Foundation Class (JFC) controls support low-level events.