Instructions how to use MAC for Accessibility checking on mobile Apps This the purpose of this workshop/demo, Mac OS will be used as the platform.
- Android Studio
- Android Emulator/AVD created
- JAVA (1.8 or later)
- Goto https://mac-server-cascon-2017.stage1.mybluemix.net/home
- Click on
Download MAC Command Scripts for Android
to download MAC CDM lib in Android section - Unzip downloaded
AccessibilityCmdTestEnabler_Android.zip
file
- Run command
emulator -list-avds
to list available avds - Run command
/<path to Android SDK>/emulator/emulator -avd <avd name>
- cd to apps root folder
- Run command
./gradlew assembleDebug
to build apk - Verify that apk is generated at
<app name>/<app name>/build/outputs/apk/<app name>-debug.apk
- cd into folder
AccessibilityCmdTestEnabler_Android
from step 1 - Run command
./android_run.sh -apk <App apk Path> -sdk <Android SDK Path>
This will create a11y apk underDIST
folder
- Run command
adb devices
to find running emulator/devices - Run command
adb -s <emulator name> install DIST/a11y_<app name>-debug.apk
- Open app in emulator/device
- Perform UI interaction on the app This is will generate A11Y report on the server side.
- Goto https://mac-server-cascon-2017.stage1.mybluemix.net/home
- Refresh page - if already opened
- Located reported generated in Android section