Cant find a element on android.support.v4.view.ViewPager

Hi,
im trying to find the element over the android.support.v4.view.ViewPager . but i could not i tried all types of xpaths but no luck . pls let me know if any one come across similar issue

xpaths i tried

xpath = “//android.support.v4.view.ViewPager[@resouce-id=‘com.irobot.home:id/table_row_text’]”
xpath1 = “//android.widget.FrameLayout/android.support.v4.view.ViewPager/android.widget.TextView[@index=‘5’]

@anand853
is the resource-id unique? Also are you sure the ViewPager resouce-id is ‘com.irobot.home:id/table_row_text’?
I got the impression the TextView (Number of Cleaning Jobs) before has also the same resource-id of the one selected on the screenshot.
if the resource-id is unique try this xpath = “//android.support.v4.view.ViewPager/android.widget.TextView[contains(@resouce-id=‘com.irobot.home:id/table_row_text’]

if the resource-id is not unique there’s another option: xpath = “//android.widget.TextView[contains(@text=‘Number of Cleaning Jobs’]/following-sibling::android.widget.TextView”