Forum Xamarin Test Cloud (Read Only)

UITest ignore the Back Stack on android

Is there a way of setting UITest to ignore all elements on the back stack for android?

I am working around it by using queries for the specific item at the minute


  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    Can you elaborate?

    Are you saying that elements on pages in the back navigation stack are being found in a query?

    I thought only visible elements are found in queries.
  • PeterSimonsPeterSimons GBMember ✭✭

    yeah that is correct, the query and repl finds every element for every page on the back stack including the top page, we have workarounds for it littered throughout or test suite, most notably is explicitly setting the view to scroll on when using the IApp.ScrollDownTo methods

Sign In or Register to comment.