QTP - post pack causing strange behavior
The page contains a grid and a drop down to select grid paging size in it's first row. Before I go into the loop through the table to find a certain link and perform a click, I need to select the maximum paging size from the ddl, which is 200. Selection on the ddl is causing a post back and if I leave this line in the script, then it will never go into the following loop, but never generates any error either. If I remove the line to make a selection on the ddl, then the script runs as expected. Any ideas? The script is below. Thanks!
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">
'this line will cause the script not to go in the loop below it
Engine_8".WebTable("gridTable".ChildItem(1, 1, "WebList", 0).Select
rowCount = Browser("Search Engine".Page("Search
For i = 1 to rowCount
// script here..
</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">