cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JDofficial
Frequent Visitor

UI Selector Visual editor not working

Hi All,

 

Does anybody have any idea why the UI Selector visual editor editor is not available?

Web automation, Chrome -private, window is identified properly. Used the web recorder.

MSPAD_error_123.PNG

Is this a feature of MS? Do we have to pay for this as well? XD

 

Best,

JD

5 REPLIES 5
Henrik_M
Super User
Super User

If you have changed it to custom, and edited the selector, you can't change it back to visual editor.

 

If you have not touched anything, I have no idea.

Hey Henrik_M,

 

I made no change to it IMHO. My guess is that recorded ones for web cannot be modified, as others that I created manually are editable.

 

Seems like we have another item on the list of flaws.

 

Best,

JD

Henrik_M
Super User
Super User

Yeah, that was my other guess. I am not used to using the recorders, and I would advise you top stop using them as well. Follow my guidelines instead:

  1. Add UI element manually
  2. Adjust the selector to ensure functionality
  3. Rename the UI element (keep the element type, but adjust the text afterwards)
  4. Add the action that best matches the element type
  5. Test the action

I am also not an amid user of those, but I just wanted to quickly test the capabilities of PAD whether there were any changes made. Apart from the current situation I follow the same rules you mentioned.

 

On point 2: How can you adjust a selector to find "Click me" within a page?

Let's assume that the html code looks like <div><a class="whoelsebutme">Click me</a></div>. Is it possible to aim for the readable text instead of the default class names/div numbers?

The auto-generated one would look like div:eq(1) > a, I would like to make it like div > a[InnerText/Value/Text/Whateverthatworks="Click me"].

 

On point 5: After setting the UI selectors is there a possibility to test it by only highlighting the element that it is required to interact with? Like in Blue Prism for example?

 

Thank you for the help in advance,

 

Best,

JD

 

Henrik_M
Super User
Super User

Text identification is not built into the visual editor for some reason, so you have to change to custom and write something like a:contains("Click me") (case sensitive)

 

Hover mouse over web element highlights, if I recall correctly.

 

🙂

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,188)