Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building a Device Lab

Lara Hogan
November 12, 2014

Building a Device Lab

by Lara Hogan and Destiny Montague
http://larahogan.me/devicelab/

Lara Hogan

November 12, 2014
Tweet

More Decks by Lara Hogan

Other Decks in Technology

Transcript

  1. Building a Device Lab Destiny Montague and Lara Hogan co-LAB-orators

    at Etsy Slides and links: larahogan.me/devicelab/
  2. Engineering Teams at Etsy • Feature Teams • Listing page

    • Seller tools • Checkout • Infrastructure Teams • Performance • Dev tools • Security Destiny
  3. Our device lab by the numbers • 36 devices •

    8 operating systems • 45 average users/month • 4 median checkouts/device • 8 devices retired this year, 
 12 new purchased v3: Leaning Tower
  4. What we’ll cover today 1. Choosing Devices (10 min) 2.

    Power (20 min) 3. Device Setup (10 min) 4. Setting Up Testing (5 min) 5. Networking, RFID Readers (15 min) 6. User Experience & Organization (15 min)
  5. Device OS Version % Total Sessions Size Apple iPhone 7.1

    40% handset Apple iPad 7.1 7.9% small/large tablet Apple iPhone 7.0.6 4.9% handset LG Nexus 5 4.4.2 4.5% handset Google Nexus 4 4.4.2 4% handset Apple iPhone 7.0.4 3.2% handset Apple iPhone 7.1.1 3.2% handset Google Nexus 4 4.3.1 2.5% handset Google Nexus 7 4.4.2 2.1% small tablet Apple iPhone 6.1.3 1.5% handset
  6. Device OS Version % Total Sessions Size Apple iPhone 7.1

    40% handset Apple iPad 7.1 7.9% small/large tablet Apple iPhone 7.0.6 4.9% handset LG Nexus 5 4.4.2 4.5% handset Google Nexus 4 4.4.2 4% handset Apple iPhone 7.0.4 3.2% handset Apple iPhone 7.1.1 3.2% handset Google Nexus 4 4.3.1 2.5% handset Google Nexus 7 4.4.2 2.1% small tablet Apple iPhone 6.1.3 1.5% handset
  7. Device OS Version % Total Sessions Size Apple iPhone 7.1

    40% handset Apple iPad 7.1 7.9% small/large tablet Apple iPhone 7.0.6 4.9% handset LG Nexus 5 4.4.2 4.5% handset Google Nexus 4 4.4.2 4% handset Apple iPhone 7.0.4 3.2% handset Apple iPhone 7.1.1 3.2% handset Google Nexus 4 4.3.1 2.5% handset Google Nexus 7 4.4.2 2.1% small tablet Apple iPhone 6.1.3 1.5% handset
  8. Device OS Version % Total Sessions Size Apple iPhone 7.1

    40% handset Apple iPad 7.1 7.9% small/large tablet Apple iPhone 7.0.6 4.9% handset LG Nexus 5 4.4.2 4.5% handset Google Nexus 4 4.4.2 4% handset Apple iPhone 7.0.4 3.2% handset Apple iPhone 7.1.1 3.2% handset Google Nexus 4 4.3.1 2.5% handset Google Nexus 7 4.4.2 2.1% small tablet Apple iPhone 6.1.3 1.5% handset
  9. Device OS Version % Total Sessions Size Apple iPhone 7.1

    40% handset Apple iPad 7.1 7.9% small/large tablet Apple iPhone 7.0.6 4.9% handset LG Nexus 5 4.4.2 4.5% handset Google Nexus 4 4.4.2 4% handset Apple iPhone 7.0.4 3.2% handset Apple iPhone 7.1.1 3.2% handset Google Nexus 4 4.3.1 2.5% handset Google Nexus 7 4.4.2 2.1% small tablet Apple iPhone 6.1.3 1.5% handset
  10. Device OS Version % Total Sessions Size Apple iPhone 7.1

    40% handset Apple iPad 7.1 7.9% small/large tablet Apple iPhone 7.0.6 4.9% handset LG Nexus 5 4.4.2 4.5% handset Google Nexus 4 4.4.2 4% handset Apple iPhone 7.0.4 3.2% handset Apple iPhone 7.1.1 3.2% handset Google Nexus 4 4.3.1 2.5% handset Google Nexus 7 4.4.2 2.1% small tablet Apple iPhone 6.1.3 1.5% handset
  11. In our lab: • 12 Android phones (a range of

    operating system versions and major manufacturers) • 3 Android tablets (a range of screen resolutions) • 1 Blackberry phone • 1 Firefox phone (developer preview) • 5 iPads (including 1 mini, different generations)
  12. In our lab (cont’): • 5 iPhones/iPods • 1 Kindle

    Fires (range of screen resolutions) • 1 Windows Phone, 1 Windows Surface, 1 Dell laptop • 1 Google Glass, 1 Chromebook Pixel • 1 Raspberry Pi, and some Kubis
  13. More reading • Strategies for choosing test devices: 
 http://stephanierieger.com/strategies-for-choosing-test-

    devices/ • How to build a device lab, with a thorough first section on choosing and acquiring devices:
 http://dmolsen.com/2012/06/26/how-to-build-a- device-lab-part-1/
  14. power problems won’t accept a charge cycle on/off forever won’t

    turn on blinking battery can’t hold a charge someone stole the battery
  15. •devices drew too much power ! •devices weren’t getting enough

    power ! •bad USB cables / peripherals ! •bad software ! •bad device
  16. Cambrionix hub • 32 ports • smart power delegation •

    fault indicator • disables problem devices
  17. 0. set up an Adobe account with the device lab

     email address ! (save this password somewhere;  you’re gonna need it later.)
  18. 1. install the Adobe Edge Inspect app via Creative Cloud

    desktop app ! (yeah, you need them both. and it has to be running for everything else to work.)
  19. 2. install the  browser  extension ! (it’ll remind

    you to turn on the  application if you haven’t yet.)
  20. 3. install the app on  iOS, Android and 

    Kindle devices ! (right, it’s not on every operating system yet, and this is a great case for getting an MDM.)
  21. 4. enter the pin for  each device in the

    browser extension ! (you’ll have to upgrade to test on  multiple devices at once.) http://www.adobe.com/inspire/2012/12/web-designs-edge-inspect.html
  22. if you upgrade your account, you’ll want to reuse it

    on every laptop used for testing...
  23. which is why it’s great to keep one laptop in

    the lab for this express purpose.
  24. Guest Network Internal Network Device Lab Network Access - basic

    web - no internal sites - VPN is blocked ! - basic web - access to internal sites - some sites require VPN access to prod network - basic web - only pre-production/ testing & VM stuff that is essential for testing our internal wifi networks
  25. surprises changed passcode left unplugged broken screen stolen cables lost

    devices connected personal facebook account changed wallpaper changed network connected personal email address upgraded operating system stolen stands stolen battery
  26. Access to power In v2, power strips were very accessible

    so that we could watch the timed power strip for greenness.
  27. Access to power In v3 we hid the power strips

    so users can’t easily steal cables and the lab looks more organized. We still made it easy for our team to go in and 
 re-cable devices.
  28. Group your devices There are many ways to organize your

    devices. Be consistent, such as grouping by: • device size (handsets, small tablets, large tablets, etc.) • operating system • unique devices on the top shelf (Google Glass, Firefox OS, Windows phone)
  29. Labels on devices and shelves Make it easy to match

    devices to their home base. • Label the front of the shelf and the back of the device with the same wording. • Color-code by operating system so it’s easy to scan.
  30. Device information For each device, label nearby: • device name

    and ID number • screen resolution, pixel density • operating system version
  31. Keep major passwords a secret The device unlock passcodes should

    all be the same and well-known. But don’t tell anybody: • app store passwords • email passwords • WiFi network password (if you’re using a subnet specifically for the device lab)
  32. Document a how-to • Passcodes (the same for every device)

    • Instructions for using Adobe Edge Inspect • Instructions for testing on VMs/staging • Instructions for taking screenshots and checking email on various operating systems
  33. Email on all devices • Set up a common email

    address (devicelab@) for testing email sends • Install a default email client and any other major email apps for testing • Configure it to receive all devicelab@ emails
  34. Put reminders everywhere You’ll need to constantly remind people to

    not upgrade apps or OSes, and to check out devices. • as background images across devices • on the wall next to the lab • on all wiki docs
  35. Make it easy to check out devices • Library card

    underneath 
 each device (color-coded, 
 of course) • RFID tags on each device and reader that works with employee badges
  36. Make it easy to test • Set up a shared

    laptop to connect with Adobe Edge Inspect • you only have to enter all the pins once • use a laptop (like Windows!) that can stay in your lab • Make sure VMs and staging environments can be accessed
  37. Make it easy to collaborate • Set up comfortable seating

    nearby • Nearby long tables can be handy, too • Make sure other outlets are available for people to plug in their own laptops • Make it so that people don’t have to walk back to their desks to test their work
  38. Make it attractive A good-looking lab is inviting. • New

    hires see it on their tour and guests want to check it out • No one wants to be near clutter • The more organized, the more likely they’ll put stuff back properly and want to use it
  39. Physical shelving: v2 1. Unique devices 2. iOS devices 3.

    Kindles and Android tablets 4. Android handsets 5. Crates and power
  40. Physical shelving: v2 • Cable drops for organization • Library

    cards and washi tape for labels • Different-height shelves
  41. Physical shelving: v3 1. Unique devices 2. Kindles | iOS

    tablets 3. Android | iOS handsets 4. Android | iOS handsets 5. Crates and misc.
  42. Physical shelving: v3 • Cables & power hidden behind shelving

    • Internal dashboard for device info and checkouts • Different-height shelves