I followed the instructions but after the third page it looped bettween two pages.
What I have done was that I made a kind called "present page". I selected in 2-3 pages the current page number.
Then I added at the end of each page a new action tree "called current page" where I added an "execute javasript"
What I tried to accomplish is to find the number of the current add 1 and then run the appropriate javascipt.
Code: Select all
Global.Browser.SelectKind("presentpage"); var r = Global.Browser.Selection.GetItem(0).innerText; //alert(Global.Browser.Selection.GetItem(0).innerText); var pagestring = 'Page$'; var v = r * 1; var t = v + 1; //alert(v); //alert(t); var pagestring2 = pagestring + t; //alert(pagestring2); __doPostBack('ctl00$ctl00$OPlaceHolderMain$PlaceHolderMain$dgSearchResult', pagestring2);
I am not a coder but it worked for me.
The site I am talking about is http://www.grhotels.gr/EN/TouristGuide/ ... 0000000000