Forum Discussion
HKosova
Alumni
15 years agoHi Lucien,
It looks like your tested applet uses a non-standard menu control, that's why, the menu selection operation was recorded incorrectly. To resolve the problem, you can try to associate this menu control with a standard Swing menu. To do this, follow the steps below:
* Double-click your project in the Project Explorer and then select the Properties tab.
* Select the Object Mapping category.
* Select the Swing Controls | Menu item.
* Click Add From Screen.
* Use the target icon or the pointing cursor to select the Project item on the menu bar in your tested applet. Then, click OK.
* Save your project.
After that, re-record the menu selection, play back the new test and see how it works for you.
It looks like your tested applet uses a non-standard menu control, that's why, the menu selection operation was recorded incorrectly. To resolve the problem, you can try to associate this menu control with a standard Swing menu. To do this, follow the steps below:
* Double-click your project in the Project Explorer and then select the Properties tab.
* Select the Object Mapping category.
* Select the Swing Controls | Menu item.
* Click Add From Screen.
* Use the target icon or the pointing cursor to select the Project item on the menu bar in your tested applet. Then, click OK.
* Save your project.
After that, re-record the menu selection, play back the new test and see how it works for you.