Pega Robotics needs to start the applications it is working with; or in the case of MonitorAll, Runtime must be running and listening for these applications to be started before they start. Attaching to an existing process is not currently possible.
I understand that MonitorAll is not recommended to use with web adapters. Can you please let me know the recommended approach for the below scenario?
Let's say, a windows application (windows adapter) triggers the launch of a web application and automation need to be performed with this web application as well. In this case, is it better to set 'HookChildProcesses' property to True and then interrogate/monitor the web application? It sounds bit odd to me in this case, as we use windows adapter but also use a web application under that (instead of having a web adapter). Or using 'MonitorAll' for web adapter be the best bet? Assume majority of the automation needs to be performed with the web application. Or let me know if there is any other way to achieve this.
Assuming the HookChildProcesses setting allows you to interrogate the web application, then this is the route to go. There really is nothing wrong with including it within the same adapter. If it is not a child process, then MonitorAll is the only way to go. In this case you'll be injected into every instance of IE. Since these processes are re-used, you'll need to make sure your adapter is started before the user can launch IE on their own, or you may risk not being able to see the process.
Thanks, Thomas. I was always skeptic using these two (MonitorAll and HookChildProcesses - Web from Windows).
The two adapters are separate only to add those specific adapter methods. Other than that, they are functionally identical. You'll need to use a Windows adapter because IE sounds like it is a child of another process. In that case, you will not have access to those properties.