Hi all
I am studying about Appium and I can’t count child in RecyclerView.
of course, I already red all of thing about this problem in this site but I can’t solve it.
this is the app’s hierarchy that I want to test.
And I wanna click RelativeLayout that child of RecyclerView.
However I cant I dont know why.
I try two way,
test_driver.findElement(By.xpath("//android.support.v7.widget.RecyclerView[0]/android.widget.RelativeLayout")).click();
List list =test_driver.findElements(By.id(“com.sample:id/list”))
list.get(0).click()
but it both don’t work.
please help me, I spent 2 days for solving this problem.