
Hi everyone,
I am working for a form filling action using UI elements. But somehow, I can work for one UI element, the other is NOT working. I noticed that the descriptions in the Selector Builder are different. Therefore, I would like to ask whether we can edit the descriptions in the Selector Builder to be totally the same, such as adding the "pane".
Thanks for your suggestions.
Working UI Elements
> document[Class="Chrome_RenderWidgetHostHWND"] > pane:eq(3) > document > table > custom:eq(1) > dataitem[Name="Project"] > list > listitem[Name="Deviation"]
Not Working UI Elements
> document[Class="Chrome_RenderWidgetHostHWND"] > table > custom:eq(1) > dataitem[Name="Project"] > list > listitem[Name="Complaint"]
Hello @concjames , did you use the automation recorder for this process?
Please try the following selectors:
> dataitem[Name="Project"] > list > listitem[Name="Complaint"] or just
> listitem[Name="Complaint"]
If that doesn't work, you can try copying the selector from the element that switches correctly > drill down to the List Item > uncheck Name > enable ordinal and count the position of that selection in the menu from the top down. The first row is generally ordinal 0
You can also try copying the selector for 'Deviation' and manually changing the value to 'Complaint' and see if that works.