- hardware related
- core functions: sms, call, bluetooth, wifi, mobile network, battery
2. mobile application testing
- change of orientation (activity is destroyed)
is screen redrawn correctly?
does application remember its state correctly?
app should not lose what user entered in the UI
app should not 'forget' its place in the current transaction
- change of configuration
availability of keyboard or system language will also destroy the application
- switch your app with another app (navigate to home screen, then return to your app) will cause possible memory leak
- interrupt by call/sms/push notification/multi-task
- network status change (2g/3g/4g/wifi, offline, flight mode)
- install/uninstall
- screensize
- internationalization
3. monkey test
- clean bootup, do not set lock screen for the phone
- adb devices
adb shell
pm | grep your.package.name
adb shell monkey -p your.package.name -v 500 > monkey_report.txt
- special char
- come back and edit
- back on browser or refresh page
- mobile and multiple browsers
5. set cookie in console
- document.cookie = "key=value";
- mobile web automation: use appium as selenium server, use DesiredCapabilites + RemoteWebDriver
reference:
No comments:
Post a Comment