02-09-2016, 06:23 PM
(10-01-2010, 03:46 PM)sudheendramurthy Wrote: I have a scenario wherein I need to verify the webtable data. After
entering input query criteria, I get results and these results are in
the form of webtable. There are two webtables embedded in one. These
two tables are identified as two different objects once containing the
header column and other containing rows but the number of rows varies
from input to input. So if for one input I get 3 rows, then for some
other input I may get 20 rows and if i learn objects for both case they
are captured as two different webtables.
In short I need to identify this dynamic webtable as unique? How can I
use descriptive progrmming in this case, if applicable?
I do not understand the need for u to identify unique webTable for different input/output.
Do the Columns vary for each different input value?
In your case u can get the column count of WebTable1 and iterate to the required column. And get the column number.
Now use the same column number along with rows of WebTable2 to verify the required value.
Even if the number of rows differ for different input.....as long as your table structure remains the same you should be able to access table values dynamically....hence no need to uniquely identify columns every time
Let me know if got it.