Blue Prism 7.2.1 - Error attaching two (02) different Objects to the same MS Edge Chromium process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-12-23 05:22 PM
-
Object 1 - Launch Edge (E.g: www.google.com)
-
Object 1 - Attach using process name "msedge"
-
Returns to the BP Process without Detach
-
Object 2 - Try to Attach to the same process using process name "msedge" (returns an error)
-
Object 2 - Executes any action on the site (not possible)
-
Object 1
- Application Manager Mode – External 64 bits
-
Object 2
- Application Manager Mode – External 64 bits
- After step 2 we can find AppMan64.exe running
- In step 4 we can see a new AppMan64.exe process being created but ended quickly (then the exception pops up on the process)
- If we detach Object 1 before calling the attach action in Object 2 it works
------------------------------
Flavio Lara
System Analyst
Vallourec Tubos do Brasil
Belo HorizonteBrazil
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-12-23 10:00 PM
For the application modeller are you using the Windows Application or Browser-based Application (Chrome, Firefox or Edge Chromium. I found in version 7 I had to switch to Windows Application for Edge to work properly.
------------------------------
David Anderson
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-12-23 10:04 PM
This was just for launching Edge. I could still utilize the old browser modeller for all the automation I had setup.
------------------------------
David Anderson
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-12-23 10:32 AM
Hello David.
We're using Browser-based Application (Chrome, Firefox or Edge Chromium in both objects.
It worked fine in 6.10.2, but in 7.2.1 it's not.
I'll test the suggestion you shared and post the results here.
Thank you
------------------------------
Flavio Lara
System Analyst
Vallourec Tubos do Brasil
Belo HorizonteBrazil
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-12-23 10:49 AM
Hello David.
I've changed the "Object 1" from "Browser-based" to "Windows Application" and it worked.
However, all "browser-based actions" stopped working (I've expected that). If I can not find any other option, maybe the solution is to rewrite this object using your idea and replace these impacted actions using a different approach.
Thank you again.
------------------------------
Flavio Lara
System Analyst
Vallourec Tubos do Brasil
Belo HorizonteBrazil
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-12-23 02:22 PM
I had created a separate Business Object for Launching Edge as a Windows App it attaches as well.
I kept the original Business Object as it was as a Browser App.
After it launches and attaches via the new BO Windows App it then runs the previous Browser based Application by attaching with that one and continuing on as normal.
------------------------------
David Anderson
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-12-23 04:09 PM
Do you have any check in your windows app BO to wait the website finish loading?
------------------------------
Flavio Lara
System Analyst
Vallourec Tubos do Brasil
Belo HorizonteBrazil
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-12-23 05:16 PM
Here is kind of my setup. I forgot a little how I setup.
BO-Edge
|
LaunchTab
|
|
Action (calls BO-EdgeApp Launch)
|
|
Action Attach (calls Attach tab in BO-Edge) Everything after this point is done in BO-Edge except the end Exit function is in BO-EdgeApp
|
|
Wait (Element - Main Page - Parent Document Loaded)
__________________________________________
------------------------------
David Anderson
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-12-23 05:50 PM
Thanks for sharing David.
I'll try something similar.
------------------------------
Flavio Lara
System Analyst
Vallourec Tubos do Brasil
Belo HorizonteBrazil
------------------------------
