|
|
|
|
  |
|
No NEXT PAGE... How do I go to Page 2..etc
Last Post 31 Mar 2010 02:22 PM by Tijn. 3 Replies.
|
Sort:
|
jimmy
 |
| 29 Mar 2010 01:46 AM |
|
There is no NEXT link, there is 1,2,3,4,5,6,7,8,9,last, when I "inspect" the second page it brings me to the HTML above, how do I execute the 2nd page and beyond? thanks <TD><SPAN>1</SPAN></TD> <TD><A href="javascript:__doPostBack('ctl00$cpBody$gvSearchResults','Page$2')" cmImpressionSent="1">2</A></TD> <TD><A href="javascript:__doPostBack('ctl00$cpBody$gvSearchResults','Page$3')" cmImpressionSent="1">3</A></TD> <TD><A href="javascript:__doPostBack('ctl00$cpBody$gvSearchResults','Page$4')" cmImpressionSent="1">4</A></TD>
|
|
|
|
|
Tijn
 |
| 29 Mar 2010 08:11 AM |
|
You typically make a loop with an execute javascript action: Use a number variable to change the pages or use a copy text between from javascript:__doPostBack('ctl00$cpBody$gvSearchResults','Page$ till ' Javascript to execute should be: __doPostBack('ctl00$cpBody$gvSearchResults','Page$[NumberVariable1]') After the javascript you should set a refresh browser source action.
|
|
|
|
|
jimmy
 |
| 30 Mar 2010 09:36 PM |
|
i create the execute java based on your recommendation, for some reason when i run the "execute java" i am getting a error of 80020101, please see the attached script. I also have a show message which loops through each execute java line and it matches the html source exactly, but the executejava doesnt execute any help much appreciated
|
BofA.djs
|
|
|
|
Tijn
 |
| 31 Mar 2010 02:22 PM |
|
Hi the javascript started with __ instead of one _. See the attached updated script. Tijn |
BofA_updated.djs
|
|
|
|
|
  |
 |
 |
 |
|
|
|
|