Banner background image
UI Automation Activities
Last updated Apr 26, 2024

UI-DBP-030 - Forbidden Variables Usage In Selectors

Rule ID: UI-DBP-030

Scope: Activity

Default action: Error

Note: This rule applies only to activities that are part of the Classic UI Automation experience.


Detects forbidden variables used in UI Automation selectors, both classic and modern. Ensures that no UI Automation activity in the entire project uses either variables in selectors or selectors replaced entirely by variables.


In situations where you are using variables in selectors, it is recommended to refactor your code and use only string selectors.

  • Description
  • Recommendation

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.