Disabling Auto-Correct in the iOS Simulator for Appium Automated Tests

Disabling Auto-Correct in the iOS Simulator for Appium Automated Tests

5 April 2024 Stephan Petzl Leave a comment Tech-Help

When conducting automated tests using Appium, a common issue faced by developers is the auto-correction feature in the iOS Simulator. This feature can interfere with the input during tests, leading to unexpected results and complications. In this guide, we’ll walk you through the steps to permanently turn off Auto-Correct in the iOS Simulator, ensuring your automated tests run smoothly without this interference.

Steps to Disable Auto-Correct in iOS Simulator

To disable the Auto-Correct feature, follow these simple steps:

  1. Launch the iOS Simulator application on your computer.
  2. Select the device you wish to boot from the list of available devices.
  3. Once the device has launched, locate the Settings app on the home screen and open it.
  4. Scroll down and select General to access general settings for the device.
  5. Tap on Keyboard within the General settings menu to open the keyboard settings.
  6. In the Keyboard Settings, you will find the Auto-Correct option. Toggle the switch to disable it.

By following these steps, Auto-Correct will be disabled, and your automated tests should no longer be affected by unwanted text corrections.

Alternative Method: Disabling Auto-Correction for Individual Text Fields

If your testing scenario requires that Auto-Correct be disabled only for specific text input fields rather than the entire simulator, you can do so through the attributes inspector for each text field:

  1. Open your project in your preferred IDE (Integrated Development Environment).
  2. Select the text field you want to modify in your project’s user interface.
  3. In the attributes inspector, look for the Auto-Correction setting and turn it off for the selected text field.

This method provides a more targeted approach, allowing you to control Auto-Correct behavior on a per-element basis within your application.


Auto-Correct can be a helpful tool for everyday typing, but it can cause issues during automated testing. Whether you choose to disable it entirely for the iOS Simulator or only for specific text fields, the above steps will assist you in setting up a testing environment that better reflects the behavior of your app in real-world usage without the interference of Auto-Correct.

Like this article? there’s more where that came from!