TruePath generates relative XPath and scripts on click of the targeted web elements.
What is TruePath?
TruePath is a remarkably built Firefox add-on designed to generate dynamic, relative, unique, and index XPath, as well as automation scripts for targeted web elements instantly. It aids in the easy localization of web elements for scripting, thus reducing the time needed for page automation. It can also create XPath in iFrame or Frame and supports Page Object XPath format or @FindBy. TruePath is an essential add-on for automation testers, speeding up and simplifying the scripting process.
When a user right-clicks on any web element on the web page, it will display all the XPath as a menu item.
TruePath helps you in the creation of Dynamic XPath, Relative XPath, Unique XPath as well as Index XPath.
Truepath can generate XPath using text value.
Using TruePath now, users can quickly create the automation scripts for the pages and hence drastically reduced the effort required for the scripting. TruePath generates the code for Java, C#, Robot & Excel.
TruePath can create XPath in iFrame or Frame. It also shows the iFrame and iFrame URL so that the user can quickly identify that from which iFrame or Frame the XPath is generated.
TruePath supports the Page Object XPath format or @FindBy. We can use it in Selenium Page Object locater or Serenity Page Object locater.
How to use video:
How to use for Firefox: https://www.youtube.com/watch?v=3qEILqbgsjQ
User reviews summary
- Great time saver
- Best XPath plugin
- Reduces effort in identifying locators
- Easy to create selenium scripts
- Provides multiple XPath options
- Opens addon main page after every Firefox start
- Previously only linked to advertisements, made extension unusable
- Helpful for identifying locators
- Effective for creating selenium scripts
- Annoying auto-opening of addon main page issue
TruePath is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this add-on. Review carefully before installing. We recommend that you only install TruePath if you trust the publisher.
TruePath has earned a fairly good reputation and likely can be trusted.