When using selenium for the first time, I am locating a WebElement through the selenium IDE. The id or name of the WebElement is loaded dynamically by an XML file, so I have been constructing my script using the xpath of the WebElement, which appears to remain constant. However, I am curious to know exactly what the xpath represents. Although I have a basic understanding, I would like clarification. For example, when trying to locate a specific link, I use:
//li[6]/ul/li[3]/a
I interpret this as follows: The third list item within the unordered list contained in the sixth list item on the page contains the desired "a" tag. Am I mistaken?
Thank you.