Skip to content

Desktop Inspector Tool Version 2.0 (Use when the XPath is not easily found)

The new Desktop Inspector tool allows users to inspect desktop application elements and identify their locators, which are the unique properties or identifiers used to distinguish each UI element. These locators play a crucial role in automation by allowing scripts to accurately recognize and interact with buttons, text fields, menus, tables, and other controls within a desktop application. The identified locators can then be used to build reliable automation workflows and ensure consistent element recognition during execution.

Note: There are two versions of the Desktop Inspector Tool,
HuLoopInspectorTool.zip is Version 1.0 and HuLoopUIInspector.zip is Version 2.0.

Use Version 2.0 if the XPath is not easily found.

Version 2.0

Step 1. Right click HuLoopUIInspector and select Extract All.

DIT-V2-extract-all

Step 2. Select Extract.

DIT-V2-extract

Step 3. Select the HuLoopUIInspector Application to Launch the Inspector Tool.

DIT-V2-launch-inspector-tool

Step 4. Click More Info.

DIT-V2-more-info

Step 5. Select Run anyway to launch the application.

DIT-V2-run-anyway

Step 6. Click Start Inspection.

DIT-V2-start-inspection

Step 7. Click Draw Rect to draw a rectangle over the element you want.

DIT-V2-draw-rect

Step 8. Press the Fn+F9 keys to freeze the HuLoop Inspector. The Resume button will appear, and you can Copy the Xpath by pressing the Copy button.

DIT-V2-press-fn+f9

Step 9. When you Select Copy, you can Paste this in your Locator Value of the Automation Builder using CTRL+V. Here is a sample:

{“displayText”:null,”elementPosition”:”SELF”,”elementType”:”Microsoft.UI.Content.DesktopChildSiteBridge”,”operation”:”Click”,”waitAfter”:300,”x”:301,”y”:283,”width”:1089,”height”:50,”coordinates”:{“x”:301,”y”:283,”width”:1089,”height”:50},”description”:”Microsoft.UI.Content.DesktopChildSiteBridge — / Untitled – Notepad”}

DIT-V2-select-copy

Last updated: Aug 06, 2026
Back To Top