Question: what is the difference between relative xpath and absolute xpath?
Answer: Absolute Xpath: It contains the complete path from the Root Element to the desire element. Relative Xpath: This is more like starting simply by referencing the element you want and go from the particular location. You use always the Relative Path for testing of an element.