Been using Automate 10.4 for years.. getting ready to move to Automate 11.1.30.3 as the existing 10.4 install's Server 2008 OS approaches EOL in January.
I have a task that launches an in-house proprietary terminal client, focuses its window and then inputs keystrokes into that window. It works fine in Automate 10.4, but if I invoke the task from the Task Administrator in Automate 11, the terminal client is invoked, but even with a focus statement, the window isn't brought to the foreground, and the timeout for the interaction is reached.
I've tried using the window title (what worked originally) and the window class to target, but neither works
<AMPROCESSES ACTIVITY="create" EXECUTABLE="REDACTED.EXE" WORKINGDIR="REDACTED" ARGUMENTS="/SETTINGS_DIR=REDACTED /WORK_DIR=REDACTED /VHOST=REDACTED" PRIORITY="normal" />
<AMWAIT SCALAR="10" />
<AMWINDOW WINDOWCLASS="TTMW" ACCESSIBILITYENGINE="active" CONTAINSOBJECT="YES" OBJECTPROPERTYSETS="Toolkit=WindowsAccessibility,Type=ClientArea,Class=TTerminalWin,Name=Terminal_AU2,Value=,X=,Y=" ALLOWHIDDEN="YES" />
<AMWINDOW ACTIVITY="maximize" WINDOWCLASS="TTMW" ACCESSIBILITYENGINE="active" CONTAINSOBJECT="YES" OBJECTPROPERTYSETS="Toolkit=WindowsAccessibility,Type=ClientArea,Class=TTerminalWin,Name=Terminal_AU2,Value=,X=,Y=" ALLOWHIDDEN="YES" />
... the app window launches, sometimes it flashes, but the Task Administrator always "stays on top". Similar for the task editor. I can manually go and click on the launched application window, and then it's targeted fine - but it feels like there's some sort of barrier between Automate and the terminal client.
OS is Server 2016 Datacentre in an Amazon t3.large instance.
Any ideas what's blocking focus of the window?
Errors received are all:
Error message: Window cannot be focused