We have a solution based on web adaptors but now we have to face a different issue. We have to extract some data from a website (it’s already interrogated in one of our current adaptors) but this website is opened in a new window by a Windows application. As it’s not opened by our current adaptors we are not able to match the controls we need.
Is there any way to match the controls in a webpage opened by other application?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
You will need to include the page in your windows application adapter. Set HookChildProcesses to true for the windows adapter. Start interrogation for the window adapter, generate the page and interrogate it.
We had some similar requirement earlier. We had one particular web application opened by a windows application. It was suggested to have all web applications fall under Web Adapter, and to have this web application/adapter (opened by Windows application) StartMethod property set to 'MonitorAll', so it can monitor the IE processes (that are started after OpenSpan is started).
So, can you let me know which option is preferred/recommended here? Having to set 'HookChildProcesses' to true for the windows adapter, or having the web adapter's StartMethod property set to 'MonitorAll'?
It is never recommended to set a web adapter to MonitorAll. This will cause injection into all instances of IE started after the adapter is started including anything started by the user (with the exception of browsers started using StartMethod=Start) and adds a lot of processing every time a page changes in any browser.
In our case, it seemed that the windows application merges the web application with a pre-existing IE process, if found, and this web application's IE process is set as a child process of the pre-existing IE. Not sure if setting the HookChildProcesses to true will work in this case. Can you please suggest?
Also, would it be possible to move a web adapter's controls under the windows adapter (without having to reinterrogate the controls)?