Error UI-DBP-006 Container Usage Top level selector used outside scoped containers in activities Click 'radio button Save File' Click 'push button OK

Hi

i am getting the below error while publishing the package.

Error UI-DBP-006 Container Usage Top level selector used outside scoped containers in activities Click ‘radio button Save File’ Click ‘push button OK’. TTC_EmailAutomation.xaml
Recommendation
Using scopes such as Open Browser and Application gives a level of reusability in selectors. Try to use scopes instead of direct UI Activities. Learn more.

Regards,

Try to follow the recommendation given as described on the documentation linked

Good day,

If we open an application with a different activity, how could we use the recommended OpenApplication activity? Thank you in advance.

It depends mainly on the use case. If you can share a sample workflow of your problem then I might be able to understand it a little more.

1 Like

Hi @heena_shaikh

I have faced the same issue. This happened because I have placed the main application selector element

For Eg:

<app=‘facebook.exe’ ctrlname=‘mainpage’ />

in the selector of the Click button selector like

<app=‘facebook.exe’ ctrlname=‘mainpage’ />
<button=‘submit’ />

Due to this, an issue occurred for me.
What you have to do is to replace the Click button selector like

<button=‘submit’ />

alone.
This will resolve your issue.

Thanks

1 Like

Not resolves
Error UI-DBP-006 Container Usage Top level selector used outside scoped containers in activities Type Into ‘WindowsForms10.EDIT.app…’ Type Into ‘WindowsForms10.EDIT.app…’ Select Item ‘combo box Domain name’ Click ‘WindowsForms10.Window.8…’. Main(Autosaved).xaml

that issue

1 Like

Hi @Ankit_shukla

The following thread might be helps.

Regards,

Not resolve Yesterday it is running proper but today given error

I comment all code only run open browser but same error getting

Hey bro have you resolved this issue

Yes resolved I have update low version of UiPath then problem has been solved

1 Like

Yes resolved I have update low version of UiPath then problem has been solved…