stephen janaway mobile testing - that's just a smaller screen, right

50
Mobile Tes*ng – That’s Just a Smaller Screen, Right? Stephen Janaway

Upload: romania-testing

Post on 08-May-2015

809 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Stephen janaway  mobile testing - that's just a smaller screen, right

Mobile  Tes*ng  –  That’s  Just  a  Smaller  Screen,  Right?  

Stephen  Janaway  

Page 2: Stephen janaway  mobile testing - that's just a smaller screen, right

Who  am  I?  Stephen  Janaway  

•  14  years  experience  in  mobile  soCware  tes*ng.  •  SoCware  tes*ng  and  test  management.  •  Main  focus  on  the  mobile  device  and  applica*ons  area.    •  Have  worked  for  companies  such  as  Ericsson,  Motorola  and  

Nokia.  

     

www.stephenjanaway.co.uk    @stephenjanaway  

Page 3: Stephen janaway  mobile testing - that's just a smaller screen, right

This  Presenta*on  

•  Why  mobile  tes*ng?  •  What  is  mobile  tes*ng?  •  Hints,  *ps  and  techniques.  •  Why  get  involved?  

Page 4: Stephen janaway  mobile testing - that's just a smaller screen, right

So  Why  Mobile?  

©  Stephen  Janaway  2014  

Page 5: Stephen janaway  mobile testing - that's just a smaller screen, right

So  Why  Mobile?  

Page 6: Stephen janaway  mobile testing - that's just a smaller screen, right

The  mobile  market  is  huge  

Page 7: Stephen janaway  mobile testing - that's just a smaller screen, right

It’s  Increasingly    Smartphones  and  Tablets  

©  Stephen  Janaway  2014  

Page 8: Stephen janaway  mobile testing - that's just a smaller screen, right
Page 9: Stephen janaway  mobile testing - that's just a smaller screen, right

•  Smart  Phones  •  Feature  Phones  •  Tablets  •  E-­‐readers  •  Big  screens,  small  screens,  touch  screens  and  keypads.  

Mobile  devices  are  

Page 10: Stephen janaway  mobile testing - that's just a smaller screen, right

And  now…  

•  Fitness  devices.  •  Smart  watches.  •  Medical  devices.  •  Trackers.  

©  Stephen  Janaway  2014  

Page 11: Stephen janaway  mobile testing - that's just a smaller screen, right

Mobile  devices  are  much  more  •  Alarm  Clocks  •  Maps  •  Link  to  loved  ones  •  Hand  held  shops  •  Tickets  •  Music  Players  •  Books  •  Games  Players  •  Cameras  •  ……  

•  These  are  key  experiences.  Imagine  if  they  did  not  work?  

Page 12: Stephen janaway  mobile testing - that's just a smaller screen, right

My alarm didn’t go off…

Page 13: Stephen janaway  mobile testing - that's just a smaller screen, right

I’m lost

Page 14: Stephen janaway  mobile testing - that's just a smaller screen, right

MOBILE  USERS  ARE  MORE  EMOTIONALLY  ATTACHED  

Page 15: Stephen janaway  mobile testing - that's just a smaller screen, right

QUALITY  IS  NOT  CURRENTLY  GREAT  (BUT  DO  USERS  CARE?)…  

Page 16: Stephen janaway  mobile testing - that's just a smaller screen, right

MOBILE  USERS  CAN  LEAVE  BAD  FEEDBACK  MUCH  MORE  QUICKLY  

Page 17: Stephen janaway  mobile testing - that's just a smaller screen, right

MOBILE  USERS  ARE  NOT  SECOND  CLASS  CITIZENS  

Page 18: Stephen janaway  mobile testing - that's just a smaller screen, right

©  Stephen  Janaway  2014  

?  

Page 19: Stephen janaway  mobile testing - that's just a smaller screen, right

©  Stephen  Janaway  2014  

?  

Page 20: Stephen janaway  mobile testing - that's just a smaller screen, right

©  Stephen  Janaway  2014  

?  

Page 21: Stephen janaway  mobile testing - that's just a smaller screen, right

©  Stephen  Janaway  2014  

?  

Page 22: Stephen janaway  mobile testing - that's just a smaller screen, right

©  Stephen  Janaway  2014  

?  

Page 23: Stephen janaway  mobile testing - that's just a smaller screen, right

©  Stephen  Janaway  2014  

?  

Page 24: Stephen janaway  mobile testing - that's just a smaller screen, right

Different  Sorts  of  Tes*ng  •  Hardware  level  •  Protocol/  Air  Interface  •  Applica*ons  

 

Page 25: Stephen janaway  mobile testing - that's just a smaller screen, right

Na*ve  or  Web?  •  Na*ve  app:  

–  Specifically  designed  to  run  on  a  device.  –  Runs  on  device  OS.  –  Tes*ng  needs  to  include  download/  upgrade/  uninstall.  –  Typically  needs  to  be  adapted  for  different  devices.    

•  Mobile  website:  –  All  or  some  parts  of  the  soCware  are  downloaded  from  the  Web  each  *me  it  is  run.    

–  Usually  accessible  from  all  Web-­‐capable  mobile  devices.  –  HTML5  makes  it  increasingly  difficult  to  separate  web  apps  from  na*ve  apps.  

–  Tes*ng  needs  to  include  different  mobile  browsers.  

Page 26: Stephen janaway  mobile testing - that's just a smaller screen, right

Interac*ons  

•  While  your  applica*on  runs,  the  phone  is:  –  Talking  to  the  network  – Working  out  where  you  are  – Maybe  receiving  calls,  texts,  Facebook  and  Twiker  updates.  

•  What  happens  when  you  have  your  applica*on  running,  and  then  get  a  call,  and  a  text,  whilst  uploading  video  to  YouTube?  Test  for  it  and  find  out.  

Page 27: Stephen janaway  mobile testing - that's just a smaller screen, right

Usability  Makers  

•  Usability  is  more  important  in  the  mobile  world:  –  Smaller  screen.  – More  difficult  to  interact  with  and  typically  used  one  handed.      

Page 28: Stephen janaway  mobile testing - that's just a smaller screen, right

Consistency  •  Think  about  what  a  mobile  user  would  want.  

– How  easy  is  it  to  use  the  applica*on?  Do  user  ‘just  get  it’?  

– How  is  the  look  and  feel?  – Does  the  applica*on  or  device  feel  fast?    

•  Takes  advantage  of  mobile  func*onality:  –  Loca*on.  – Mobile  search.  – M-­‐commerce.  

•  A  design  that  can  be  viewed  on  a  small  screen  and  in  bright  light.  

©  Stephen  Janaway  2014  

Page 29: Stephen janaway  mobile testing - that's just a smaller screen, right

Performance  

•  Limited  memory.  •  Limited  processing  capacity.  

•  Not  turned  off  very  oCen.  

•  Think  of  how  the  applica*on  works  when  network  performance  is  poor  or  on  different  speeds  (2G/  3G/  LTE/  Wifi).  

Page 30: Stephen janaway  mobile testing - that's just a smaller screen, right

Bakery  Life  

©  Stephen  Janaway  2014  

Page 31: Stephen janaway  mobile testing - that's just a smaller screen, right

Apps  Stores  

•  Different  stores  have  different  criteria.  •  One  es*mate  is  that  70%  of  applica*ons  are  submiked  to  apps  stores  without  any  formal  tes*ng  have  been  conducted.  

Page 32: Stephen janaway  mobile testing - that's just a smaller screen, right

Security  

Page 33: Stephen janaway  mobile testing - that's just a smaller screen, right

Sensible  Error  Messages  Par*cularly  when  network  /  data  isn’t  available  

©  Stephen  Janaway  2014  

?  

Page 34: Stephen janaway  mobile testing - that's just a smaller screen, right

Don’t  Just  Test  Here…  

Page 35: Stephen janaway  mobile testing - that's just a smaller screen, right

On  Here,  and  At  Here…  

Page 36: Stephen janaway  mobile testing - that's just a smaller screen, right

Out  Here…  

Page 37: Stephen janaway  mobile testing - that's just a smaller screen, right

In  Here…  

Page 38: Stephen janaway  mobile testing - that's just a smaller screen, right

Different  OS’s  

Source:  hkp://gs.statcounter.com  

©  Stephen  Janaway  2014  

Page 39: Stephen janaway  mobile testing - that's just a smaller screen, right

iOS  Adop*on  -­‐  J  

©  Stephen  Janaway  2014  

Source:  mixpanel.com  

Page 40: Stephen janaway  mobile testing - that's just a smaller screen, right

Android  versions  -­‐  L  

Source:  hkp://opensignal.com/reports/fragmenta*on-­‐2013/    

Page 41: Stephen janaway  mobile testing - that's just a smaller screen, right

Screen  Sizes  

©  Stephen  Janaway  2014  

Page 42: Stephen janaway  mobile testing - that's just a smaller screen, right

Where  do  I  get  all  the  devices  from?  

•  Don’t  use  them  at  all  –  simulators  or  user  agents.  

•  Buy  them.  •  Rent  them.  •  Borrow  them.  •  Use  a  cloud  based  service  (Perfecto  Mobile,  DeviceAnywhere).  

Page 43: Stephen janaway  mobile testing - that's just a smaller screen, right

Open  Device  Labs  

•  Borrow  devices,  normally  for  free.  

•  hkp://opendevicelab.com    •  Open  Device  Labs  =  shared  community  pools  of  internet  connected  devices  for  tes*ng  purposes.    

©  Stephen  Janaway  2014  

Page 44: Stephen janaway  mobile testing - that's just a smaller screen, right

Automa*on  

•  The  holy  grail  to  solving  the  fragmenta*on  tes*ng  problem?  

•  Caveat  –  mobile  test  automa*on  is  like  desktop  test  automa*on  6  years  ago.  

•  You  may  want  to  consider  pushing  for  more  unit  and  integra*on  tests  before  spending  *me  on  mobile  UI  automa*on.  

©  Stephen  Janaway  2014  

Page 45: Stephen janaway  mobile testing - that's just a smaller screen, right

Understanding    the  User  

•  In  app  analy*cs.  •  Website  analy*cs.  •  User  persona’s.  •  Similar  applica*ons.  

©  Stephen  Janaway  2014  

Page 46: Stephen janaway  mobile testing - that's just a smaller screen, right

So……  

Page 47: Stephen janaway  mobile testing - that's just a smaller screen, right

Mobile  Test  Strategy  –  Top  5  Tips  1.  Understand  the  poten*al  user:  

– Which  plasorms  and  devices  will  they  use?  –  How  will  they  use  the  app  or  website?  

2.  Understand  what  OS  versions  are  being  used  and  when  new  ones  are  coming.  

3.  Test  using  simulators  and  real  devices.  4.  Understand  the  cost  of  automa*on:  

–  It  is  where  desktop  automa*on  was  6  years  ago.  –  Best  combined  with  extensive  unit  and  integra*on  tes*ng.  

5.  Use  an  exploratory  approach  to  manual  tes*ng:  – Mobile  device  projects  are  typically  short.  

©  Stephen  Janaway  2014  

Page 48: Stephen janaway  mobile testing - that's just a smaller screen, right

So…  

•  Mobile  is  huge.  •  Users  are  more  emo*onally  akached  to  their  phones  than  they  are  to  their  PCs.  

•  Tes*ng  applica*ons  is  the  easiest  route  into  the  industry.  

•  A  mobile  test  strategy  should  not  merely  be  a  copy  of  a  desktop  test  strategy.  

Page 49: Stephen janaway  mobile testing - that's just a smaller screen, right

“Be  proud,  your  work  will  soon  be  in  the  hands  of  millions”  

Page 50: Stephen janaway  mobile testing - that's just a smaller screen, right

Stephen  Janaway              www.stephenjanaway.co.uk              @stephenjanaway    

Ques*ons?