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 Â
- Mac computer and macOS operating system.
- TestProject Agent installed and running on your computer.
- Xcode installed from Mac App Store.
Basic steps to start recording on iOS simulators
Step #2 – Click on the Plus icon at the bottom of the screen to create a new simulator:
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.
You can mirror any iOS simulator screen:
Simulators are launched headless, but you can also start it from Xcode and see its window mirrored in the TestProject platform.
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 🚀
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/