Hello Friends
I have this process which operates on an application in a unattended virtual machine.
For some reason the start menu is opened and prevents the application of interest to be active so that the process can continue.
in order to close the StartMenu of the Windows, I successfully did that using 2 SendHotkey activities:
first, will just send the “Win” key to the Desktop (at the selector you need to use the desktop)
second, send the same “Win” key but without anything on the selector (leave empty)
Set both of them to ContinueOnError=true in order to deal with both situations (already opened StartMenu, closed StartMenu) without having an exception if the menu isn’t open.
Set Timeout=1000 (1s) for both in order to have them responding without waiting a very long time.
This was tested on WinServer2019 and Win10Pro successfully.
Doesn’t work.
Plus sometimes the menu pops up sometimes not is unattended i can not know, i just get an email with screenshot in case of error and i see that the menu has popped up.
Okay then use element exists activity and indicate anything on start menu, and put an if condition and in then part of if close the start menu from any above solution.
I removed the search bar and now its opening random application from pinned taskbar.
It clicks randomly here below:
Now it opened google Chrome in the middle of the process.
Nothing at all.
Thats why its strange
when is on attended mode it behaves properly, on unattended mode it randomly clicks something on the taskbar after some queue items are processed. sometimes on the first queue item.
Its so annoying.
Ideally it should not click other elements if the selector is propper. No idea why it’s randomly opening some other applications and click other elements outside the process.
That Happens only on unattended mode…it clicks on the taskbar below at a certain position…randomly…it processes the first queue item or so and then it clicks…or it performs three successful queue item processing and then it clicks…that opens a window which then leads to an error as he UI element is behind the window and not visible anymore…