QA/B2G getting started: Difference between revisions
< QA
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
===Overview=== | ===Overview=== | ||
Quick and dirty crash course on using a b2g phone for QA | Quick and dirty crash course on using a b2g phone for QA | ||
Line 16: | Line 17: | ||
===Running Tests=== | ===Running Tests=== | ||
If you're on the eng build, there are unit tests scripts on device | If you're on the eng build, there are unit tests scripts on device | ||
===Debugging=== | ===Debugging=== | ||
====ADB==== | ====ADB==== | ||
adb is how to tether and connect to your phone | adb is how to tether and connect to your phone | ||
* get it here | * get it here | ||
* get log files | * get log files |
Revision as of 18:12, 25 April 2013
Overview
Quick and dirty crash course on using a b2g phone for QA
The Build
- Devices
- white ZTE: unagi
- black ZTE: inari
- Builds
- User
- Eng builds
- Update
- You can update over the air (OTA) generally
- Where to log bugs?
- What version am I on:
- Generally use the build SHA in Settings > About phone > advanced
Running Tests
If you're on the eng build, there are unit tests scripts on device
Debugging
ADB
adb is how to tether and connect to your phone
- get it here
- get log files
- plug in USB
- on phone goto Settings > About Phone > Advanced turn on USB and BLAH
- on mac run
- ./adb devices
- if you don't see the device, restart adb with this cmd: ./adb usb
how to get logs:
- run ./adb logcat > log.txt
- run ./adb logcat -c to clear
how to push a pref:
- ./adb push pref("toolkit.identity.debug", true);
Tips and Tricks
- Screenshot
- press home and power button
- Kill process on phone
- long press home, swipe card/app window up
Glossary
- Trusted/Native UI
- Phone specific window that hosts a whitelist of URLs/Apps such as marketplace and persona/sign in.