How to Resolve UI-DBP-006

My current project revolves around in a certain website, I move from pages to pages to do the tasks. In the framework that I am using, The initialization starts by logging into the website, then proceeds to the next state where the processing of the transaction happens. Problem is, this Error Code appears after analyzing. Because(I think) of the open browser activity is in the initialization, and is not in the process transaction. Is there a way to like put the open browser activity without reopening the browser?

Hi,

Is there a way to like put the open browser activity without reopening the browser?

Output browser instance (UiPath.Core.Browser) from OpenBrowser in Initialization, then use it in AttachBrowser. It makes activites in container of AttachBrowser handle same browser.
Please note we need to add some arguments/variables to workflow files to pass variable.

Or if you need to just resolve this warning, please use AttachBrowser and put activities for UiAutomation in it.

Regards,

I don’t know where I did wrong. I added the Attach Browser and made an in argument called “In_Browser” I analyze the file again but the problem still shows.

Hi,

Can you check selector of Click in the container? Does It has top level selector?
Please remove top level selector if it is set inside attach browser container and have it inherit from the container.

Regards,

Thanks, forgot about the top level selector. I’ve tested it and it seems to work fine now.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.