This tool allows to check validity of XPaths and highlights found elements.
Requirements
- Windows 10 PC with the latest Windows 10 version
- Microsoft Visual Studio 2017 or later
Getting Started
- Open XPathConsole.sln in Visual Studio
- Select Debug > Start Debugging or simply Run
Application Screen
Usage
- Fill application name (most commonly found on a top of the main window of application)
- Fill application .exe absolute path in the file system of your computer
- Check if you want to start an application, if unchecked tool will try to find a running instance of you application
- Click on "Find App" button and wait for the response. In some cases application could be in "not responding" state during this process
- Fill your XPath
- Click "Find Elements" button
- If one or more elements was found than list will be created. Clicking through this list will highlight elements on screen.
- Highlight overlay can be turned on or off with checkbox.
- All errors should be thrown to right text box.
Common Issues
-
Application not found: Check if application name and path are correct Application name could also contain spaces. To be sure you can copy the name from Windows Accessibility Tools > inspect.exe.
-
XPath Element not found: XPath shouldn't contain outer quotation marks.
Valid formats are //MenuItem[@Name="File"] or //MenuItem[@Name=\"File\"].
Download
You can download the most recent version from github releases tab.