| || |
Identify an application
My application is not a traditional GUI application. It exists as an icon on the systray and on right clicking the icon, you have a bunch of menu options. Depending on which option you click you are thrown an individual screen.
1) Since the position of my application icon varies on the systray, how do I make Silktest identify where it is and simulate the right click on it to throw up the menu options?
2) Once menu options are thrown how do I make a selection?
Re: Identify an application
You need make a Record/Window Declaration (with cursor mouse in systray). May by results :
window TaskbarWin Shell_TrayWnd1 - wich contains, as PushButton, all icons from it.
Then yoy need to construct a PopUpMenu (see in Help PopupMenu class) with specific menu of app.