I’m developing a project to resolve the “Financial Transaction Validation” RPA challenge ( Financial Transaction Validation (automationanywhere.com)). I open the browser Edge with the UI Automation modern activity then I extract data from the website. Then I click on a button that open a new tab and in that tab it can’t retrieve/see any element. I checked each selector and they are valid.
I also checked during the runtime the UiElement and Browser elements from “Use browser” activity output and there in the selectors remains the title of the first tab: i.e. . I tried to override and change that selector but it didn’t work.
Does someone have the same issue? Or do you know how I could I fix it?
Hi @q.gio
Use Send Hot Key Activity to open new tab (Ctrl+t)
and in every selector go with the url and make sure you only keep the constant value in the url .
Hi @Dinesh_Guptil,
I tried in this way and it worked navigating to the URL. But in this case I have to click on the button to start the challenge. I expected that the browser (in this case with chromium API) switches automatically between the tab following the window and element selectors.
Finally, I retrieved again all the elements used in that tab/website. Because you have to select the correct tab/application when indicating the elements and it was not possible to define or change it manually (although the selectors of the window and element were correct, it searched anyway in the wrong tab for that element, if the element wasn’t indicated again)
In my opinion, there should be improved the handling between the tabs of the browser since this way is not straightforward and the documentation doesn’t explain well this situation.