Last updated: Jun 26, 2019 14:50
Objects missing in the newest iOS version? Here is how to debug.
On the latest iOS version, the app under test is no longer revealing objects in specific places.
Validate the following:
- Reinstall your app using the same app install process. Navigate to the page where the objects appear to be missing and open object spy. If the object or objects are still missing, continue on with the validation.
- Try the exact same app version on a previous iOS version.
- If the objects you are looking for are missing in both 11 and 12 iOS versions and the app is hybrid, try installing your application using instrumentation. This exposes web elements in your app and may resolve the issue.
- If the objects you are looking for are missing in iOS 12, but appear in iOS 11, you may have an issue with the way iOS has changed. In this case, the Appium Server Review (App Developer Solution) below is relevant.
NOTE: This is a developer solution. Testers may not have the ability to do this and may need to raise the case to your application developers.
- If the objects are missing in both iOS 11 and iOS 12, contact Perfecto Support for further assistance.
Appium Service Review:
Solution: All iOS applications require that application developers write the app in xCode on a MAC OS computer. During run time, objects can misbehave or not appear in the XML, but the app itself will work perfectly fine during manual testing. The way to check if the app is missing objects requires the following:
- MAC computer with xCode
- Appium server software
Ensure that xCode is installed with Appium server installed on the MAC. Connect your on hand iOS device to the MAC computer and start Appium. Navigate to the page that is impacted in your app and refresh Appium. Review the objects within. If the objects are missing in Appium, have your application developers debug the visibility of the objects.