How does UiPath get the XML file of the program?

They aren’t .exe files. They’re applications running. Everything is an object, a UI element. Every open window, every button, every menu, every menu item, every web page title, link, button, every every little thing is an object to Windows.

UiPath is just getting the properties of those objects from Windows. Windows also provides ways to interact with the ui elements either by controlling mouse/kb or “under the hood.”

A selector is a path to an object, stated in XML format.

1 Like