How to calculate Data from few columns of WebTable using Java
<p>I have to calculate the webtable data.</p>

<p>A WebTable has 6 columns and 20 Rows. We have to calculate </p>

<p>On <strong>Form-1</strong></p>

<pre><code>addition of data in column1   (from row1 to row20)

addition of data in column2  ( from row1 to row20)

addition of data in column4= (from row1 to row20)

addition of data in column5= (from row1 to row20)
</code></pre>

<p>Similarly data on Form-2, and Form-3 with 6 columns and 20 Rows</p>

<p>But, On <strong>Form-4</strong></p>

<p>6 columns available on that page but Rows are not 20. Rows count is not specific it might be anything less than 20.</p>

<p><strong>Condition-1</strong>:</p>

<p>If  addition of , then don’t count the values from that row. So, please suggest me how to program this in Java.</p>

<p>Page navigation point is at bottom
when Form-1 is open, page navigation is as shown below</p>

<pre><code>1 - 2 - 3 - 4 - &gt;
</code></pre>

<p>when Form-2 is open, page navigation is as shown below</p>

<pre><code>&lt;- 1 - 2 - 3 - 4 -&gt;
</code></pre>

<p>when Form-4 is open, page navigation is as shown below</p>

<pre><code>&lt; - 1 - 2 - 3 - 4
</code></pre>

<p>I want to calculate the data of column1 from "<strong>Form-1,Form-2,Form-3 &amp; Form-4</strong>".</p>

<p>Thanks in Advance.
Vivek</p>