Micro Focus QTP (UFT) Forums
Retrieving data from web table - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Retrieving data from web table (/Thread-Retrieving-data-from-web-table)



Retrieving data from web table - nsuresh316 - 03-01-2014

HI All,

I am a beginner in QTP.I need some help with webtable
I have a webtable please refer the attachment.
I want to get the train name which run on all days and having more no of availablity

In our scenario 2 trains GrandTrunk Exp and Tamil Nadu Exp run on all days
but i need GrandTrunk Exp as output since its seat availability is more.


RE: Retrieving data from web table - basanth27 - 03-03-2014

Here is the logic,

1. Find the rowcount and the columncount.
2. Loop through the table, find the particular row you need.
3. Find the column data for that row.
4. Select the row as the iteration number.

There are specific keywords and clues in the above steps. Try and let us know the outcome Smile