Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of TruePath

TruePath by SumitG

TruePath generates relative XPath and scripts on click of the targeted web elements.

4.3 (19 reviews)4.3 (19 reviews)
645 Users645 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
TruePath-Ultimate have refresh UI with additional features.TruePath-Script Generator generates code in Java, C#, Robot & Excel.For Firefox version > 55:  When a user right clicks on any web element on the web page, it will display all the XPath as menu item. It then group the XPath as follows

1. Green thumbs up: This group will list all XPath except those containing id, href, src or any http\ https.

2. Yellow thumbs up: This group will list all XPath which has id, href, src or any http\ https as attribute. 

3. Red thumbs up: This group will contain all indexed XPath.For Firefox version < 56: When a user right clicks on any web element on the web page, it will display all the XPath as menu item. It then group the XPath as follows

1. XPath with id, href, src: This group will list all XPath which has id, href, src or any http\ https as attribute. 

2. XPath with class, name, title: This group will list all XPath except those containing id, href, src or any http\ https.

3. XPath with index: As name suggest this group will contain all indexed XPath.On clicking the menu items i.e., the XPath from the context menu, a pop up will open up and user can copy the XPath.
About this extension
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

TruePath-How TruePath help to find XPath for elements which have dynamic attributes: https://www.youtube.com/watch?v=ImSUN4tvPog

For Firefox version > 55: It then groups the XPath as follows:
***********************************************************
1. Green thumbs-up: This group will contain all XPath except id, href, src or any http\ https.
2. Yellow thumbs-up: This group will contain all XPath which has id, href, src or any http\ https as an attribute.
3. Red thumbs-up: This group will contain all indexed XPath.

For Firefox version < 56: It then group the XPath as follows:
***********************************************************
1. XPath with id, href, src: This group will list all XPath which has id, href, src or any http\ https as an attribute.
2. XPath with class, name, title: This group will list all XPath except those containing id, href, src or any http\ https.
3. XPath with index: As the name suggests this group will contain all indexed XPath.

Sometimes the attributes id, src, href, etc. contains auto-generated values that's why grouping them under yellow thumbs. Indexed XPath is kept in Red Thumbs up the group as they are vulnerable to the frequent UI changes. The automation tester can use this XPath from these two groups, depending upon the understanding of the web page(AUT).

For Issues:
https://github.com/gsumit1/TruePath/issues
Rated 4.3 by 19 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
13
4
3
3
1
2
0
1
2
Read all 19 reviews
Permissions and dataLearn more

Required permissions:

  • Input data to the clipboard
  • Access browser tabs
  • Access your data for all web sites
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
Version
1.0.4
Size
172.96 kB
Last updated
3 years ago (20 Dec 2022)
Related Categories
  • Web Development
  • Appearance
Licence
All Rights Reserved
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 1.0.4
Fixed issues reported.
More extensions by SumitG
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.