Posted: 22 Aug 2018 11:29 EDT Last activity: 23 Aug 2018 15:11 EDT
Is there any way to have a web adapter recognize an already existing IE window?
I have an automation in which the user will likely already have the web application open on their PC when it comes time for them to want to run the automation. Is there any way to have the automation recognize that the application is already open and match the current page, or does the web adapter have to start a new IE instance every time?
In order to "recognize" the instance of Internet Explorer, Pega Robotics Runtime must start Internet Explorer. There is a property of the adapter called StartMethod that you can change to MonitorAll. When you use this mode, all instances of Internet Explorer that get started after Runtime starts will be "recognized". This is not recommended for Internet Explorer as it will cause Pega Robotics to be present in every instance of Internet Explorer launched. In addition, it will require you to interrogate all of your Web adapters (internet Explorer) into one adapter. If possible, I would suggest that you start the application for the user.
Thank you for your reply. As I mentioned, the user process involves already having started the application before they would start the proposed automation. Perhaps OpenSpan may not be the right solution for them if an adapter cannot be coerced into recognizing an existing browser instance.
I was thinking hopefully of the Visual Studio web application analogy where a developer can opt to attach to process (Ctrl + Alt + P), and be presented with a list of processes for which they can choose to attach.