Forum Discussion
- rviswanathanNew ContributorCan anyone have a look at this pls?
- paul_scroceFrequent ContributorIf the button click is not necessary could you delete (or comment) these lines?
show_button = tray.WaitWindow("Button", "");
show_button.Click();
aqUtils.Delay(1000);
Hi Remya,
You can access the needed element in the tray by its name and click it. For example, the code below right-clicks the Skype icon in the tray:
var tray = Sys.Process("explorer").Window("Shell_TrayWnd", "", 1).Window("TrayNotifyWnd", "", 1).Window("SysPager", "", 1).
Window("ToolbarWindow32", "User Promoted Notification Area", 1);
tray.ClickItemR("Skype*");