Next page exists always return with false


I am preparing for the generate yearly report assignment, while the check if next page exists always return with false

I am using this selector

can anyone advise where went wrong?

Hi @Hima

While running what will be assigned to transaction number?

If transaction number is other than “2” may be that’s the problem


Hi Sudharsan,

The transaction number is start from 1
How to make it as dynamic page number increasing

Just assign another variable inside for each Like
Demo is integer data type

Demo =in_TransactionNumber +1 (incase "in_TransactionNumber " is a integer datatype)
Demo =Cint(in_TransactionNumber .ToString)+1(incase "in_TransactionNumber " is a String datatype)

Just give it a try


Hi @Hima
Instead of page number , you can consider this next button in element exists as well

Because after the last page 14, the next page button won’t be available so you can use this

Or another way using pagenumbers

"<html app='chrome.exe' title='ACME System 1 - Work Items' /><webctrl aaname='"+in_TransactionNumber.ToString+"' tag='A' />"

Hope this helps you

Nived N