logo logo

Mobile Automation Testing with iOS Simulators

Automation Testing with iOS Simulators

We are excited to share that from TestProject Agent version 0.65.30 and above, you can now record codeless test automation on iOS simulators by using macOS and Xcode 🎉

Up until then, iOS test automation with TestProject’s test recorder was available using physical devices only. Since February 2021, we’ve included out-of-the-box support for iOS simulators as well, and it’s as simple as can be 😉

In order to record Appium automation tests on iOS simulators, you do not need to have an Apple Developer Account or a provisioning profile (whereas with iOS physical devices you do need to have those, as described in our iOS on Windows tutorial). When it comes to iOS simulators, you simply need to launch the simulator and TestProject’s Agent will detect it automatically. Tests recorded on simulators can later be executed on real devices as well, no need to change anything.

Why might you consider creating tests on iOS simulators?  

  • Better support for applications developed with hybrid platforms (Flutter/React).
  • Running tests on multiple devices available with Xcode.

Prerequisites for creating tests on iOS simulators  

Basic steps to start recording on iOS simulators

Step #1 – To create a new simulator on Xcode, go to Windows –> Devices and Simulators:

create a new simulator on Xcode

Step #2 – Click on the Plus icon at the bottom of the screen to create a new simulator:

create a new simulator on Xcode

TestProject Agent will detect all the simulators it comes with atutomatcily and display them in the connected simulators list in the TestProject platform. Simply navigate to the Agents tab.

Step #3 – Choose your local Agent and click on Devices:

TestProject support for iOS simulators

You can mirror any iOS simulator screen:

ios simulator screen mirroring

Simulators are launched headless, but you can also start it from Xcode and see its window mirrored in the TestProject platform.

ios simulator screen mirroring

Step #4 – For this moment you can simply follow the “New test” creation flow in TestProject and select one of the simulators, just the same as you would do for physical devices when starting to record your automated tests. Once you create a simulator, simply search your application from the installed application list – and that’s it! You are good to go and kick start your test automation 🚀

TestProject iOS test automation

For cotinuing on from here and creating your first Appium automation test in under 10 mins, I’d recommend you read this great tutorial & see just how easy it is to start creating your recorded test cases with TestProject: https://blog.testproject.io/2021/03/08/launch-appium-automation-tests-under-10-mins/

Unlock Mobile Automation Testing in Under 10 mins

Dor Ben Zvi

About the author

Dor Ben Zvi

Solutions Engineer at TestProject. Enthusiast to learn new technologies and gain knowledge.

Join TestProject Community

Get full access to the world's first cloud-based, open source friendly testing community. Enjoy TestProject's end-to-end test automation Platform, Forum, Blog and Docs - All for FREE.

Join Us Now  

Leave a Reply

popup image

Unlock the power of Appium testing

Forget complex setups & maintenance hassles. Focus on creating reliable Android or iOS tests using a FREE Appium-powered platform, with built-in reports, designed to help deliver quality at speed.
Get Started