Posted: 9 Mar 2018 10:13 EST Last activity: 2 Apr 2018 11:02 EDT
Pega Robotics Unable to Interrogate ClickOnce App
I've been having some issues Interrogating a ClickOnce Application; The name of the Application is "Reimbursement", every time I start the Interrogation over it, a ClickOnce popup appears.
"Verifying application requirements. This may take a few moments."
The popup disappears, the application launches but the Interrogation stops.
I have followed these steps I found on previous posts
"The simplest way to do this is to create a Windows Application adapter. Set your adapter Start method to StartAndWait. The application you are going to start is Internet Explorer (set Path to the full path to iexplore.exe) with Arguments set to your ClickOnce Url. The TargetPath will be the process name you see in Task Manager (on the processes tab) when the application is running. You will need to extend the StartTimeout to allow for download time when the application is updating.
StartAndWait will start the application in the Path property and wait for the application in the TargetPath and then attach."
Using a Windows Adapter set to StartandWait, you would start IExplore.exe (Internet Explorer) with the URL for ClickOnce app. The TargetPath would be set to the process name of the actual ClickOnce application. You will need to change the StartTimeout value to be long enough for the target process to start. With ClickOnce applications this can be a long time - I would start by making the timeout 60000.
An alternate path is to use a Web Adapter, set the StartPage to your ClickOnce url. You will need to set HookChildProcesses to true and before you start the adapter you will need to make sure that the dfsvc.exe process is not running. Dfsvc is a process that is shared among all the ClickOnce apps and is used in starting it. Once the ClickOnce app starts, it is no longer needed - but HookChildProcesses will only recognize it if it is started by your adapter.