Forum Xamarin Test Cloud (Read Only)


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Query elements that are not visible on screen

Is there anyway to query my application under test for all elements with a certain 'AutomationId' or Label text, including those not currently visible.
I have a list of items where I want to query all items in that list, but failing to do so.
I have tried the following, but it only returns the visible elements on screen or nothing at all:

var dateTimeQuery = _app.Query(x => x.Marked("ViewingDateId").All());
var dateTimeQuery = _app.Query(x => x.All("ViewingDateId"));
var dateTimeQuery = _app.Query(x => x.All("ViewingDateId").All());
Sign In or Register to comment.