How can I identify Xpaths using Class and HTML Tag Position
<p>I am new to <code>selenium ide</code>. Trying to get the 2nd html tag with class with same value.</p>

<pre><code>&lt;div class="test"&gt;
&lt;div&gt;
&lt;small class="jo-date-time text-muted"&gt;Ordered on Jun 23, 2016 &lt;/small&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="test"&gt;
&lt;div&gt;
&lt;small class="jo-date-time text-muted"&gt;Ordered on Jun 22, 2016 &lt;/small&gt;
&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>e.g.
<code>class=jo-date-time[2] and //small[@class='jo-date-time'][2]</code></p>

<p>But, it doesn't work. It still needs the parent html tag. Is it really like that? </p>

<p>This one works for me. -> <code>//div[@class='test'][2]/div/small</code></p>