Webbrowser in a windows form

Have a windows adapter interrogating a windows form. on the form is a web browser control with a web site of menus, controls, buttons, etc.. I can interrogate the main control and it shows as windows form control. What I need is a web control and then the controls below that.. I seen done in another adapter project but can remember/figger how to do from scratch.. using pega robotics plug in v19.1.102 …

need pointer to what I’ve (forgetten) need to do make it work

@RobIsTheName This sounds like it has an embedded browser. In apps like Facets, they use Chromium Embedded Framework which there is support for in the latest Pega Robotics 22.1. If your app is something different (like Electron), there may be some support for it in 19.1.

https://docs.pega.com/bundle/robotic-automation-221/page/robotic-automation/creating-automations/automating-electron-applications.html

Do you have any information on what technology the embedded browser is using? You might be able to use a tool like Spy++ or Process Explorer to get some details on the processes involved.

@ThomasSasnett Thanks for the quick reply. After comparing reviewing (staring) at an older project I notice there is a tab in the main interrogation pane (in visual studio) called Web Pages. There, it listed the WebBrowser pane in the targeted windows application. From there I could inspect the HTML elements picking up the required controls. A bit of a round about way of selection, but it’ll work for now. Hopefully v22 is better at interrogating webBrowser objects…

Thanks for the input…

@RobIsTheName Interesting, ok. Well, the universal web adapter is generally good at detecting embedded browsers. I am not sure why you couldn’t use the bullseye though. I doubt 22.1 would change anything there, but you can certainly use the same method you did to access the controls. Hopefully you get to use 22.1 in the near future.

@ThomasSasnett This is a Windows Adapter.. A windows Winform application with a webbrowser control baked into it.