Hi,
I'm getting below error while closing Excel file, when I'm starting the process from Control Room via schedule function.
Could you please help me with the solution if you got any.
ERROR: Internal : Failed To perform Step 1 In Navigate Stage 'Press' on page 'Close Workbook' - Exception during remote setforegroundwindow - System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at BluePrism.ApplicationManager.Operations.WindowOperationsProvider.ForceForeground(IntPtr windowHandle)
I have had this error on Navigate stage: at 'Active Application' action before 'Press' action.
The process is below,
Open Excel and workbook.
Maximize the window of workbook: Press the miximize button.
Close Excel: Press the close button.
I'm using the same action, 'Active Application' and 'Press', on "2. Maximize the window of workbook" and "3. Close Excel", but the error causes only on "3. Close Excel".
The element is using Win32 mode when doing 'Active Application', and is using Accessibility mode when doing 'Press'.
ã€Additional Information】
There is a retry loop(five times), but the same error caused five times.
I don't use a virtual desktop, an application such as RDP to connect/disconnect and a virutalized environment at all.
The other objects are working well which use the same action above.
Best regards,