I have developed solution which consists of 2 Universal Web Adapters. During the process both adapters are started. The issue is if I use method navigate on A Universal Web Adapters sometimes happens that this method is executed on second B Universal Web Adapters what is wrong. I do not know why but I think the software cannot distinguish between 2 Universal Web Adapters.
I am suspecting that both web pages have the same controls and in some scenarios, these targets are same. Hence automation might be executing the methods on the wrong page. I suggest you review the match rules on both pages for the control and modify the match rules to uniquely identify the control on each page.
Hope this helps.
Posted: 1 year ago
Posted: 2 Jun 2021 9:59 EDT
Thomas Sasnett (ThomasSasnett)
Lead Robotics Architect
@PeterH01 One other option you can try is to use the AcceptedDomains property of each adapter. The UWA doesn't distinguish between windows like the web adapter (IE) did, so if you interrogate a page (pega.com for example) in adapter A and interrogate another page (google.com for example) in a second adapter, it would be possible to navigate both adapters to the opposite page and they'd continue matching. If you set the AcceptedDomains property of an adapter to just the domains it will contain, any pages not in that domain would not get matched.