Woohoo, just right click on the first and second element to get the relative xpath. Have Fun!! A simple extension for finding out relative xpath expression of two web elements. Just right click on the elements you want to compare, or type in your expression and press enter."