06-15-2015, 02:55 PM
Hi,
By default the pagination is in 1 you will get the record count for that page u need the increment the link by 1 and should start the loop again and store the first page and second page link count in a dynamic array...
You will get total count of the webtable in all pages.
The pagination link will be spyed as webtable try to spy correctly(This is main part of the program)
snippet.
//Try use the above snippet and modify hope it works..
Happy scripting
By default the pagination is in 1 you will get the record count for that page u need the increment the link by 1 and should start the loop again and store the first page and second page link count in a dynamic array...
You will get total count of the webtable in all pages.
The pagination link will be spyed as webtable try to spy correctly(This is main part of the program)
snippet.
Code:
//For pagination it will act as link
Set objLinkColl = Browser(".*").page(".*").webtable("Page link").count
//Msgbox objLinkColl
//Msgbox Browser(".*").page(".*").webtable("Page link").childobjects(objlink)
//Take unique property of pagination links in objlink.
Counter = 1
For i = 0 to webtablecount
//if i = webtablecount then
// Increment pagination by 1 using counter variable
objlinkcoll(i) = Counter + 1
i = 1
exit for
else
Msgbox "End of rows"
Endif
Next
//Try use the above snippet and modify hope it works..
Happy scripting