Problem with large webtable - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Problem with large webtable (/Thread-Problem-with-large-webtable) |
Problem with large webtable - JoshS - 08-26-2015 My need is very simple. I have a large webtable that contains the results of a search. I need to verify the contents of a particular column in each row. The table may contain anywhere from 1 to n results. I search on an indicator displayed in my webpage to tell me how many results I have then I run through a For loop from 1 to NumResults and get the cell data from the appropriate cell. My problem is this. My results table my contain 200 results but when I call webtable(x).rowcount it will give me a count of 31 (approximately the size of what can be displayed on the page without scrolling). So when I loop from 1 to 200 everyting after 31 is undefined and it will bounce around giving me results from other rows. I've tried .refreshObject on the webtable to no avail (unless i'm using it wrong). I've tried verifying a row then clicking the scroll down arrow before clicking on the next row object. No luck. I've tried verfitying a row then clicking the down arrow to emulate keyboard usage but no luck here either. My developers say the entire results table is loaded at the beginning so I shouldn't need to scroll to load the table. My application is a SmartGWT application. Please help! |