cancel
Showing results for 
Search instead for 
Did you mean: 

Advanced Consolidation Exercise

KeerthanaJ
Level 5
The attach object in BP Travel is not working. I just did whatever given in Browser automation guide The launch action is working. But when i run the attach action, it is not working. It says target application could not be identified. (pls check screenshot) 

Please check screenshot to find the attach action properties. Have set the child index as zero.

Also i have set the TabProcGrowth to zero just like mentioned in Browser automation guide pdf. But still the attach action is not working. Can someone pls help me with it. thanks!

------------------------------
Keerthana J
------------------------------
32 REPLIES 32

I did that too. Not working. Thanks!

------------------------------
Keerthana J
------------------------------

Hi Team, 

Can you please view the initial value. ( I have attached screenshot for your reference).
I believe  you have not removed the existing static data. 
Let me know if it works. 


------Original Message------

Pls find the screenshot for Window title Data item.

------------------------------
Keerthana J
------------------------------

Hi,

Pls find the screenshot. That is my initial value. Is it wrong? Thanks!

------------------------------
Keerthana J
------------------------------

@AmiBarrett @Dave Morris can you help here.

She is unable to attach to IE with the ACE release provided with BP. I think it might be an issue with TabProcGrowth, never really tinkered it on my system and never really had issues with attach, so if you have any suggestions.



------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------

Unless there's a kerning issue, the provided screenshots show a literal string of ​"BP Travel*.Untitled*".  Try changing the period to a comma so the delimiter matches what's set in the "Create Collection of Titles" action. 🙂

@KeerthanaJ - "I didn't make any changes to it. But still attach action is not working." That's as-intended. You're meant to bring it up to a working state per the documentation that goes along with it.

------------------------------
Ami Barrett
Sr Product Consultant
Blue Prism
Plano, TX
------------------------------

Thanks for the reply. "I didn't make any changes to it. But still attach action is not working." - Actually i mentioned here about importing the solution to check my answers. Even after running the solution, attach is not working. I tried whatever mentioned in documentation and browser automation guide pdf as well. I am not sure where i am going wrong. 

Also i tried the comma, instead of period. 

I am using virtual machine-> Is this reason for the issue, by any chance? 


------------------------------
Keerthana J
------------------------------

I just re-downloaded the completed solution on my end and got it to work without issue. Per an earlier suggestion, I also got it to work fine without the TabProcGrowth reg key (not typically recommended, but something to rule out).

Are you certain the browser is already running when you try to use the attach stage? You should be able to have the process launch the browser to the correct page, then click the reset button and detach without the browser closing. This will allow you to accurately test the functionality of the included attach method.

------------------------------
Ami Barrett
Sr Product Consultant
Blue Prism
Plano, TX
------------------------------

Like you said, I launched the browser using BP travel URL, then clicked the reset button and detached without the browser closing. And then tried to run the attach page. Still not working. Thanks!

------------------------------
Keerthana J
------------------------------

I tried child index as 0 and 1. it didn't work as well. Thanks!

------------------------------
Keerthana J
------------------------------

Jared.Rumball
Level 6
Hi,

Please try the following as troubleshooting steps:

  • Launch the BP Travel application
  • Open Task Manager and get the PID from the Details tab:
32094.png

Note - with the default TabProcGrowth setting there will be the main iexplore process plus a separate process for each tab in the IE window. You want to identify the process that the BPTravel application is running in and copy that PID. If TabProcGrowth has been changed then there should only be one IE process.

  • Back in BP, clear all other Inputs from the Attach stage except the Process Name and then enter the copied PID directly into the Process ID input field like so:
32095.png

Note - this is only to check that you can successfully attach to the current window you have open. You will need to remove the Process ID once the problem has been narrowed down.

  • Check that you can successfully Attach to the currently open window with this configuration. There should be no window titles or child index parameters involved at this point, we are telling BP to attach to a specific process by it's ID.
  • If that Attach action worked then it's time to introduce and test the Window Title parameter.
  • Reset the object and Detach from the application.
  • Enter "BP Travel*" as the default value for a Window Title text data item:
32097.png

  • Add the Window Title into the Attach inputs. Leave the Process ID in there for now as well (make sure you haven't closed the application and re-opened it or you will need to get the new PID!). Your Attach stage Inputs should now look like this:
32098.png

  • Check that this still attaches okay.
  • If you're still good then Reset and Detach again. Now we're going to revert the solution to use the environment variable and the Window Titles collection instead of the basic Window Title text data item.
  • Set the BP Travel Window Titles environment variable to the text "BP Travel*, Untitled*" (with a comma)
  • Add the Create Collection of Titles stage back into your Attach flow
  • After the Create Collection of Titles stage is run your Window Titles collection should have two rows like this:
32099.png

  • Change the Attach stage to use the Window Titles Collection instead of the Window Title text data item:
32100.png

  • Check that this configuration still attaches okay
  • If that's still a success then Reset and Detach
  • Now remove the Process ID from the Attach stage but add Child Index = 0 and retry:
32101.png

Note - with TabProcGrowth in the default setting (a separate process is created for each IE tab) you need the Child Index in order for BP to attach successfully.

All going well you have been able to attach following through this series of steps. I performed each of these steps on my own system as I documented it and it worked fine for me. If it didn't work at any stage then hopefully breaking it down like this has helped to identify where the issue lies within your environment.

------------------------------
Jared Rumball
Q4 Associates Ltd
https://www.q4associates.biz/
------------------------------