02-09-21 08:48 AM
Answered! Go to Answer.
02-09-21 09:30 AM
02-09-21 09:30 AM
02-09-21 01:26 PM
22-05-25 07:00 AM
Hi,
I have the same problem(activate browser application using win32 mode). But I have only one browser(chrome). I know chrome has multiple tasks. when I changed ordinal value to 1 it is identifying the required and correct window only and it is working fine when testing. But when we trigger or schedule the process it is not activating the application. Even though there is not application is open other than chrome.
we been using blue prism 7.2.1 version and window 11 operating system.
Could you please help me in this.
Thanks in advance
3 weeks ago
Hi, did you get a response to your query outside of this thread, or find one elsewhere? I am having the same issue in processes using Chrome but when Chrome is running as the only application. Prior to launch, we have a check for existing Chrome windows and then a close if there are.
We have set up a Generate Arguments page which adds the command line switches to the URL (force renderer, maximise etc) and this has never caused a problem before.
Attaching is fine, but Activate is where I am coming undone. A Utility - General Get Windows only returns one value but highlighting using Match Index confirms that there are multiple windows, and activating them using Match Index doesn't bring the hidden one to the front so I can see what it is.
I am fairly certain that I don't need the Activate for these automations to work successfully, but given that this issue is now seen on two processes using Chrome, I'd like to know what the problem is.
Could it be rooted in Chrome and not my process perhaps?
Thanks
Fran
3 weeks ago
Hi,
No, I haven’t received any response to my issue either here or outside the community. However, I was able to find a workaround for my project, and I hope it helps you as well.
Here’s what worked for me:
Spy the browser—specifically an area near the minimize button (but not the minimize, maximize, or close buttons themselves).
Attempt to activate the window using the Activate action. This will likely throw an error.
Capture the activation error, then use the previously spied element from Step 1 and apply Focus = True.
After focusing, click the spied element (from Step 1). This should bring the application to the foreground.
Now, try activating the Windows application again (Step 2). In my case, it worked intermittently, but overall it solved the issue.
Note:
Highlighting Chrome using match index does not work because Chrome opens multiple background subprocesses even for a single tab. This makes it difficult for the tool to reliably target the correct window.
Ultimately, Blue Prism needs to fix this issue or provide a recommended workaround, as this can be problematic for many users.