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.

How do I manipulate OS dialog from UITest?

I am testing Xamarin.iOS and Xamarin.Android using Xamarin.UITest.

The application I am creating uses the Bluetooth function, the following dialog will be displayed when it is OFF.

I think that this dialogue is displayed by the function of OS, but how can I advance on Xamarin.UITest?
It can be either Deny or Allow.

I tried using Repl (), but I could not find an element that could be operated on the tree.

Also, I tried app.Back (), app.PressEnter (), app.Tap (q => q.Text ("ALLOW")) etc, but nothing happened.
I am glad to help you. thank you.


Sign In or Register to comment.