CursorMathcer,ListView。我有10个项目的清单。 每件商品都有3个属性。
在listView上只显示标题,子标题。
我的测试:
onData(withRowString(Item.CAPTION_COLUMN_NAME, "Some_caption")).check(matches(isDisplayed()));
行。此测试通过并滚动到标题为 Some_caption 的项目。
但我想测试(通过Espresso)这个项目的属性年龄 = 45.我怎么能这样做?