Testing on iOS with Perfecto

Link to Testing on iOS with Perfecto copied to clipboard
Free Trial

The axe DevTools Mobile Analyzer will connect with a Perfecto device through Xcode and Perfecto's DevTunnel technology, enabling you to manually test any app installed on a Perfecto real device for accessibility defects.

Requires:

  • Perfecto Enterprise Private Cloud

First Time Setup

  1. In your Perfecto dashboard, open a real device for manual testing.

  2. Once the device loads, select the "DevTunnel" button.

If you have not installed DevTunnel before, checkout the installation guide from Perfecto for detailed instructions.

tip

Having trouble with DevTunnel?

  • You may need to restart your computer after installation.
  • You may need to change permissions of the devtunnel folder located at: /usr/local/etc/devtunnel to allow read/write to everyone.
  • Contact Perfecto Support at support-perfecto@perforce.com.


Screenshot of the Perfecto website with DevTunnel button highlighted in pink, and an arrow pointing to the download link.

Install Application to Test

With the real device of your choice open, you'll need to install the application you'd like to test.

  • If you have an .ipa, you can upload to the device through the Perfecto interface. Select the "Applications" button, then "Install new". Select "Computer" to upload from your computer.

  • If you are deploying from Xcode, select the "DevTunnel" button on Perfecto, then "Connect". Open the Xcode project for the application you'd like to test. Choose a device to run on and select the Perfecto device under "iOS Devices". Launch the app as you typically would while developing locally.

Accessibility Testing

  1. Start DevTunnel if you haven't already: Select the "DevTunnel" button on Perfecto, then "Connect". Note: Opening DevTunnel before Xcode helps ensure your cloud device is available to Xcode.

  2. Open the axe DevTools Mobile Analyzer Xcode project, and make any adjustments to your setup file, follow the setup guide for more info.

  3. In the axe DevTools Mobile Analyzer Xcode project's top bar, open the device drop down and select the Perfecto device under "iOS Devices". If this is your first time with the analyzer, checkout run an accessibility test for detailed instructions. Otherwise, in Perfecto, navigate in your app to the screen you'd like to test, and hit the "Test" button in the Analyzer project to kick off an accessibility test!

  4. Visit the axe DevTools Mobile Dashboard to see your scans.

Test Clean Up

When you're finished with your testing session, select the "DevTunnel" button to disconnect. Be sure to also select the "Stop" button to end your real device session with Perfecto.