Volker Voecking Software Engineering

iOS
Fri, Jul 9, 2021
1. Get the GUID of the simulator that you were using cd ~/Library/Developer/CoreSimulator/Devices This folder contain a file named device_set.plist. Open this file in a text editor Go to the section that lists all the simulators for the specific iOS version of interest e.g. com.apple.CoreSimulator.SimRuntime.iOS-14-5 In the dictionary () scroll to the simulator you were using e.g. com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max The entry below that key is to GUID of the simulator. 2. Find the application folder of the app Go to the folder that contains all the application data folders from the iOS simulator of interest:

Wed, Jan 24, 2018
Fresh install in the simulator To make sure that your UI tests start with a fresh install of the app on the simulator you can uninstall the app after building the UI tests: Open the project settings, go to the UITests target and in the section “Run Script” add the following command line: xcrun simctl uninstall booted com.vvse.toiletmap Use “accessibilityIdentifier” or “accessibilityLabel” to identify UI elements If possible use accessibilityIdentifier or accessibilityLabel to identify a UI element.