title: How to increment a xpath and save it in a variable - selenium IDE
body: <p>I'd like to increment the xpath in a loop by increment the count in a variable, please check the code below:</p>
  
  <pre><code>&lt;tr&gt;
      &lt;td&gt;storeXpathCount&lt;/td&gt;
      &lt;td&gt;xpath=.//*[@id='vicinityListDropDown']/span&lt;/td&gt;
      &lt;td&gt;nsuvcount&lt;/td&gt;
  &lt;/tr&gt;
  
  &lt;tr&gt;
      &lt;td&gt;getEval&lt;/td&gt;
      &lt;td&gt;storedVars['nsuvcount']=${nsuvcount}+1&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>Actually this code is in a loop where will wait for this xpath (storeElementPath) and take a screenshot, However I'd like to count each time this xpath will be displayed in the loop, so I'd like to save the total (times) in a variable, i.e(nsuvcount=10), that means the xpath was found 10 times, This is an error message.</p>
  
  <p>I appreciate your help!</p>