As you have got enough knowledge to understand the XPath and are in a position to start practicing different kinds of XPath statements. So follow the below steps to practice XPath:
1. Open https://www.simple-talk.com/dotnet/.net-framework/xpath,-css,-dom-and-selenium-the-rosetta-stone/
2. Download the Locators_table.pdf document as shown below:
3. Read the legend in the downloaded pdf document as shown below and observe that the Author of the document has mentioned the x symbol besides the XPath statements that are not supported by Selenium:
4. Now practice all the XPath statements that are specified as supported in the pdf document that is downloaded in the step 2. You can also keep this document as a reference while writing the Selenium Automation code.
Please comment below to feedback or ask questions.
Easy and Regular way of finding XPath Statements for Elements will be explained in the next post.