To run UI tests on actual devices, I use the following command to list devices possibly connected to my MAC:
xcrun xctrace list devices
As you know it shows a list of simulators and actual devices.
BUT it also shows actual devices NOT currently connected to my MAC. If they are not currently connected, I do not wish to see them.
Once a device is connected, it seems to always show up in the [== Devices ==] list.
Even after I disconnect the device it will still show up there. And my software thinks it can run tests on these devices.
Does anyone know how to get a correct list of devices which are currently connected to the MAC??
Post
Replies
Boosts
Views
Activity
Hi,
We have iOS apps created using Xamarin and we test them with UI tests - also created in Xamarin.
But when I use the latest 16.0 ios simulator, I am unable to enter text. I keep getting the message:
Error while performing EnterText("BlaBla")
Exception: System.Exception: No keyboard is visible for text entry.
The keyboard is actually displayed - but the UI test cannot seem to see it.
If I run the test on a 15.5 simulator, the test works OK.
Does anyone else have this problem or know what the solution could be?
I have included the Xamarin REPL tree view of the elements for the 15.5 and 16.0 simulators. You can view them in the linked files.
iOS 15.5 simulator REPL elements.txt
iOS 16.0 simulator REPL elements.txt