Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Doesn't tap on any item in a particular list view.

$
0
0

app.Tap works fine everywhere in our app expect on one particular place where there's a list view. We use custom list view (syncFusion) and I am not sure if that's what causing the tap issue.
Note that tap works in REPL but not from the scripts.
Any help is much appreciated.
Thank you!

Here's the code I am using to tap on the date entry under History section as shown in the attachment.

public SelectStepsScreen TapHistoryEntry(int HistoryListRowNumber)
{
app.WaitForElement(x => x.Marked("lblHistoryDate"));
app.Tap(x => x.Marked("lblHistoryDate").Index(HistoryListRowNumber));
TakeScreenshotWriteToConsole("Tapped on "+HistoryListRowNumber+" entry in History section.");
return new SelectStepsScreen();
}


Viewing all articles
Browse latest Browse all 204402

Trending Articles