How can I select row count from Grid drop down box
To display number of rows on the Grid, there is dropdown listbox with values that can be selected as 50,100,150 . Since its a web-element it does not have Select property. I tried to use SetTOProperty and set the value to 150 but, I was no able to set the count. How can I select the grid row count to 150.
thanks, I was able to set the Correct text in the drop-down using the article you had mentioned but its still not refreshing the page, it only refresh page or loads rows when item is selected from the drop-down list. Do you have any idea how this would work.
following code selected the text in grid drop down but its not triggering page refresh so that it will load new page with new number of rows.
set abc = Browser("").Page("").WebElement("html tag:=SPAN","class:=t-input")
abc.Object.innertext = "150"
Bring it up in Firebug or one of the other browser's developer tools. Should be in there. Or just ask a developer what event you need to trigger.
I looked code behind the page and did not see any java script related to it, so I asked the developer and they told me its part of the grid so its done by the grid code. I saw many places they were using Ajex you I installed ajex tool kit and still I can't capture anything while recording. So I am clueless on what next to step would be.