I am trying to use a string argument as part of a selector for a NClick activity on a webpage. The NClick is inside of an NApplicationCard activity.
I am getting the error below: Error: UI-DBP-030 - Forbidden Variables Usage In Selectors The following UI Automaton activity Click ‘Introduction’ uses variables in selectors or in exchange for selectors. Only string selectors are allowed. MyProject/Sequence.xaml Recommendation Detected forbidden variables in selectors as defined per rule. Please consider refactoring the code, to use only string selectors. Learn more.
The ‘Learn more’ hyperlink takes me to a page that explicitly states: Note: This rule applies only to activities that are part of the Classic UIAutomation experience.
There are not any Classic activities in my workflow file and I have the Use Modern setting enabled.