1
只是爲了舉一個例子,說我的看法回收站(ID爲「列表」)是本Gmail收件箱如何使用特濃咖啡點擊回收商查看項目中的按鈕?
我已經知道onView(withId(R.id.list)).perform(RecyclerViewActions.actionOnItemAtPosition(1, click());
咱們我打開第二個電子郵件。
但是,我怎樣才能點擊第二封電子郵件與espresso的星形按鈕?
只是爲了舉一個例子,說我的看法回收站(ID爲「列表」)是本Gmail收件箱如何使用特濃咖啡點擊回收商查看項目中的按鈕?
我已經知道onView(withId(R.id.list)).perform(RecyclerViewActions.actionOnItemAtPosition(1, click());
咱們我打開第二個電子郵件。
但是,我怎樣才能點擊第二封電子郵件與espresso的星形按鈕?
看看下面的計算器問題: 它創建一個ViewAction,它在recyclerView中的特定位置單擊由id標識的視圖對象。
如果鏈接死了怎麼辦? –