Thursday, 10 September 2015

mobile/cross browser testing

1. mobile testing
  1.  hardware related
  2.  core functions:  sms, call, bluetooth, wifi, mobile network, battery

2. mobile application testing
  1. 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
     
  2. change of configuration
    availability of keyboard or system language will also destroy the application
     
  3. switch your app with another app (navigate to home screen, then return to your app) will cause possible memory leak

  4. interrupt by call/sms/push notification/multi-task
  5. network status change (2g/3g/4g/wifi, offline, flight mode)
  6. install/uninstall
  7. screensize
  8. internationalization

    3. monkey test
    1. clean bootup, do not set lock screen for the phone
       
    2. adb devices
      adb shell
      pm | grep your.package.name
      adb shell monkey -p your.package.name -v 500 > monkey_report.txt
       
    4. test tricks
    • 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";

    6. mobile automation

    No comments:

    Post a Comment