How to click on an item in a recycler view?
I'm building page objects for regression testing and there are a few views that incorporates a recycler view with list items and I have found one solution but I can't get it work. What I get is that "The name index doesn't exist in the current context"
What am I doing wrong here?
Func _listItem(int index) => e => e.Marked("text_left_icon_right_list_item_textview").Index(index);
public SomethingPage(IApp app)
_app = app;
public void SelectSomething()
<p>The code of the solution I found: <a href="https://xamarinhelp.com/page-object-pattern-will-make-better-xamarin-ui-automation-tester/" rel="nofollow noreferrer">Page Object Pattern In Xamarin UITest</a>.</p>
I found what was wrong ^^ I had forgotten to put int index in the parentheses of public void SelectSomething()