Updated on 08/02/2021
A desktop app to label the GUIs from two Android emulators (phone and tv).
08/02/2021: The app has been tested on real devices.
Python 3.x
PyQt 5
- Instruction: https://www.riverbankcomputing.com/software/pyqt/download
- Reference Guide: https://www.riverbankcomputing.com/static/Docs/PyQt5/
Andorid Emulator
or real Android device- For Android Emulator, the following tools have been tested:
- Genymotion: https://www.genymotion.com/fun-zone/
- Android Studio (Recommend): https://developer.android.com/studio
- For Android Emulator, the following tools have been tested:
- (Optional)
IDE for Python
-
Make sure you have:
- At least two .apk files of the apps you want to analyze.
- Exact two emulators (Android phone and tv) connected to your host machine via adb.
-
Emulator (or real device) configuations:
- Turn on the developer options > USB debugging
-
Click Check Emulators button.
- Make sure the names of two emulators are displayed.
-
Click the drop-down list the specify the phone and tv emulators.
- Cannot identify them? Click Check Packages button to display the package and activity names of two emulators.
-
Click Apk Location button to specify the root path of apk files.
- For each paired apk, the file structure should be:
- ./[package_name]/mobile/[apk_name].apk
- ./[package_name]/tv/[apk_name].apk
- For each paired apk, the file structure should be:
-
Click Check Packages button.
- If the root path of apk files is correct, it will display the number of pair apks found.
-
Click Next App mulitple times to traverse the package names of app, stop at the app to test.
-
Click Install Apps button.
- When the complete message pops up, the apps are successfully installed in the phone and tv emulator respectively.
-
Click Launch Apps button. both the phone app and the tv apps will display in the emulator.
-
(Optional) Click Save Location button to specify the path to save GUI files.
- A default path has been displayed
-
Check and change the GUI in the two emulators, Stop at the GUI to label.
-
Click Check Packages button.
- Name sure package names and activity name are correctly displayed.
-
Click Get n Save button to save the screenshot and description files of GUIs.
- When the complete message pops up, the GUI files is successfully saved.
- the default path: [save location]/[package name]/[foler]/......
-
Repeat step 9-11 to label more GUIs.
- If there are some login issues, record the issue by clicking phone and/or tv button to specify the app.
- If the GUI layout of the two apps are exactly same, click yes button to record the issue.
- When the complete message pops up, the issued is successfully recorded.
-
When the test is complete, click Uninstall Apps button to uninstall the apps. It will reduce the compatiblity issue when install the second paired apps.
-
Wants to test another paired apps?
- return to step 5.
-
Wants to exit?
- Click Close button.