HI munish,
'--------------------------------------------------------------------------------------------
'This will give the total number of pages.
'--------------------------------------------------------------------------------------------
To check the number of records on the last page either you can use the childobjects of checkboxes or simply by checking the text "300 to 352 of 352".
Let me know if you need more info.
Hi Munish,
but the bette way of writting script should use the number of records shows (352) "1 to 100 of 352" and "Showing:" (100 per Page). Based on these two you should validate the number of pages displayed in the "Pages" list box and then proseed with the above post.
let me know if you need any thing else
'--------------------------------------------------------------------------------------------
Code:
Browser(X).Page(X).WebList("name:=Page:").Highlight 'To highlight the listbox in App.
ItemNum = Browser(X).Page(X).WebList("name:=Page:").GetRoProperty("items count")
msgbox = Browser(X).Page(X).WebList("name:=Page:").GetItem (ItemNum)
'--------------------------------------------------------------------------------------------
To check the number of records on the last page either you can use the childobjects of checkboxes or simply by checking the text "300 to 352 of 352".
Let me know if you need more info.
Hi Munish,
but the bette way of writting script should use the number of records shows (352) "1 to 100 of 352" and "Showing:" (100 per Page). Based on these two you should validate the number of pages displayed in the "Pages" list box and then proseed with the above post.
let me know if you need any thing else
Thanks,
SUpputuri
SUpputuri