| || |
How do you capture values from a dynamically sized web table?
I need to capture values from a web table which I can obviously achieve by using "Insert Output Value". However, dependent upon several values submitted on previous screens, the number rows in the web table ranges from 5 to 2 (and this may well expand in the future).
QTP fails if less than 5 rows exist. How can overcome this?
Re: How do you capture values from a dynamically sized web table?
This example gets the data out of the 1st cell for all rows that exist, change the 1 in the GetCellData parameters to the column you want to extract:
For i = 1 to rCount