After working with RF for the past few weeks, I came across a persistent issue that has been bothering me. I keep getting the following error:
The element with the locator 'XXX' (just a template) cannot be found.
Upon investigating the span that I was trying to locate, it became apparent that there is some JavaScript code underneath it which seems to enable it dynamically.
input bo-attr="" id="inventory-keyword" ng-attr-placeholder="{{('inventoryMode.' + {true: 'KEYWORD_DEVICE_PLACEHOLDER', false: 'KEYWORD_TEMPLATE_PLACEHOLDER'}[items.currentSeen == VIEWS.EQUIPEMENT]) | translate}}" ng-model="getCurrentFilters().searchString" class="ng-pristine ng-valid" placeholder="Name, description..."
How can I get RobotFramework to recognize this? Or could the issue lie elsewhere?
There are other similar elements (with JavaScript code underneath) that RobotFramework is unable to detect, except for the main menu.