Hi,
Before going through the logic get the no.of rows and columns in the first table and compare them with the second table. If they are all same then start the loop fail=0 for i=1 to webtable1.rowcount for j=1 to webtable1.columncount if(data in the ith row jth coloumn of first webtable table<> datain the ith row jth coloumn of second webtable) report fail and exit the loop fail=1 End for End for you can use the variable fail for your further logic if you need it. Thanks, Vamshi -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en