Xpath ends-with

Hi,

Have you tried with contains text ? e.g. //android.widget.TextView[contains(text(),‘the Future’)]

Have a try.