Tuesday, February 16, 2010

Asynocronous Data Table Loading

When you have a very large datatable and QTP starts to read the datatable objects before it is getting fully loaded. Also if the the .sync is not working
You can use Asynocronous Data Table Loading

oldRowCount=0
While (oldRowCount<>B().P().WebTable().RowCount)

oldRowCount=B().P().WebTable().RowCount
Wait 3Wend

No comments:

Computers Add to Technorati Favorites Programming Blogs - BlogCatalog Blog Directory