Today as per the poll and survey UI automation tester used to spend on an average 30-40% of automation script time in locators writing which now could be saved by ChroPath's relative xpath feature.
Here you go-
Just one click and copy the relative xpath. ChroPath 0.2.0
Steps to get unique relative xpath -
- After installing ChroPath extension, reload the page for which you want to use it.
- Right-click on the web page, and then click Inspect.
- In the right side of Elements tab, click on ChroPath tab. Note- If ChroPath is not visible then click on the arrow icon as shown in the Screenshot. ChroPath will be shown as last tab in sidebar.
- To generate relative xpath inspect element, it will generate the unique relative xpath for the inspected element.
- Also you can generate relative xpath just by clicking on dom node in the element tab and it will generate the relative xpath in ChroPath tab.
- Now you can copy this relative xpath just by clicking on copy icon.
No comments:
Post a Comment