Latest Inquiries - Data Extraction Software

Nex Page Navigation

Submitted: 1/11/2016


The NextPage Navigation in this project is not working preperly. I tried everything I know but nothing seems to work.

What happens is that it keeps trying to go to the page that's currently active, which generates an error since the link to the active page is disabled. I'm sure that there is something that can be done to make this work, but I just can't think of it.

Please take a look at the project and let me know how can it be fixed.


Replied: 1/11/2016 7:21:22 AM

Please check the attached new project.

I've created two new page navigation templates for iterating through all pages.

'page list' template has specific xpath for avoiding to select disabled one and non-numeric links:

//DIV[@id='ctl00_ContentPlaceHolder1_pnlOffenders']/DIV[1]/A[@and not(@disabled)][matches(.,'^\d+$')]

'next' template does navigate to next page list .