Forum Discussion
As suggested, it could be the control is not supported. If you look at the properties of the menu with the Spy tool do you see any methods for selecting items in the list. Make sure you have the Spy tool set to show advance members.
Arrow key navigation, as you described, is definitely not ideal. However, using accelerator keys, if they are hooked up, avoids the pitfalls of arrow keys if/when new menu items are added. When you press Alt you'll see the accelerator keys underlined in the app .As an example in TestComplete try pressing Alt+f+o. That will open the File Open dialog using the keyboard accelerators.
In Automation you could accomplish that by sending keystrokes to the application object. In VB that would be myapp.keys("~fo"). Sorry, I don't do Python.
I use keyboard accelerators a lot to work around problems like you encountered.
Best regards,
John
Related Content
- 11 months ago
- 10 years ago
- 3 years ago
- 5 years ago
Recent Discussions
- 20 hours ago
- 20 hours ago
- 5 days ago