I'm writing XCUITests for view has 2 UITextField and by defualt the simulator has hardware keyboard connected, hence the software one is not being presented.
Is it possible to set some settings (maybe in schema?) to force-disable connecting hardware keyboard by the simulator before test runs.
I went through few links but none seems to be helpful. iOS simulator - disable connect hardware keyboard programmatically
Disable Hardware Keyboard for iOS Simulator using UIAutomation
According to links, we need to write applescript but this ask for permission and opens system preferences.
Aucun commentaire:
Enregistrer un commentaire