Question
Vodafone
EG
Last activity: 6 Nov 2018 20:02 EST
Pega Robotics - How to attach opened site directly without using start ?
In our project we working on attended robot and the agent should run the robot to work on already opened site
so how to attach the opened site with web adapter without reopen it again?
Thanks,
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
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.
Updated: 5 Feb 2018 8:58 EST
Pegasystems Inc.
US
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.
Pegasystems Inc.
US
It is not recommended to use MonitorAll with web adapters even though it is possible. This will cause each open running instance of IE to be injected into. This can have unintended consequences.
Standard Chartered Global Business Services
IN
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.
Pegasystems Inc.
US
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.
Standard Chartered Global Business Services
IN
Thanks, Thomas. I was always skeptic using these two (MonitorAll and HookChildProcesses - Web from Windows).
However, If we need to use/set the properties like IgnoreMainBrowser, IgnoreJavaScriptFrames from Windows Adapter would they be applicable/work for web application? Also, some of the Web Adapter properties like AddressBarVisible/MenuBarVisible/ToolBarVisible does not seem to be available in Windows Adapter. How do we go about in that case?
Accepted Solution
Pegasystems Inc.
US
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.
Standard Chartered Global Business Services
IN
Excellent. Thanks for the explanation! This clears my long standing doubt.