Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
CAOS 2015 Summer: Introducing STF (Smartphone Test Farm)
Gunther Brunner
July 07, 2015
Technology
1
1.4k
CAOS 2015 Summer: Introducing STF (Smartphone Test Farm)
Open-sourcing Smartphone Test Farm
http://openstf.github.io
Gunther Brunner
July 07, 2015
Tweet
Share
More Decks by Gunther Brunner
See All by Gunther Brunner
gunta
2
1.9k
gunta
1
660
gunta
1
1.2k
gunta
0
74
gunta
0
880
gunta
0
710
gunta
6
11k
gunta
0
110
gunta
13
3.4k
Other Decks in Technology
See All in Technology
hiroyaiizuka
0
140
900groove
2
510
imdigitallab
0
510
kentaro
1
660
go5paopao
4
530
hmatsu47
5
730
viva_tweet_x
1
430
harshbothra
0
150
yoku0825
PRO
3
180
free_world21
0
110
udonyuya
1
560
leaner_tech
0
1.2k
Featured
See All Featured
marktimemedia
7
400
jlugia
217
16k
tanoku
86
8.6k
sugarenia
233
860k
wjessup
339
16k
philhawksworth
190
17k
zenorocha
296
40k
pedronauck
652
110k
rocio
155
11k
tammielis
237
23k
jrom
116
7.2k
nonsquared
81
3.4k
Transcript
2015 SUMMER #caos2015
Günther Brunner @gunta85 Smartphone Test Farm 2015 SUMMER #caos2015 Simo
Kinnunen @sorrcu
Most painful point in mobile development right now
Debugging iOS devices
Only 7 different iOS smartphones worldwide iPhone 6 Plus iPhone
6 iPhone 5S iPhone 5C iPhone 5 iPhone 4S iPod Touch 5G
Debugging Android devices Solving the big picture
More than 377 Android devices in Japan
More than 18796 Android devices worldwide
Physically test each device at your desk And ask someone
to lend you the specific device you want to test
Charge - Learn the device
–STF “Life is too short to wait for a test
device.”
None
Remotely test every device from your browser
Remotely test every device from your browser
Features
Navigation • Open URLs in any browser • Shows a
realtime list of installed browsers
Take Screenshots • Take screenshots • Resize in realtime •
Share the screenshot URL
App Upload • Drag & Drop .APK files • Upload
and Install in 1 step • Choose Activity to launch
Copy & Paste • Copy and Paste to and from
the device • Any language supported
App Shortcuts • Most used shortcuts
Remote Debug • Debug remotely as if the device was
plugged into your computer • Android Studio, Eclipse support • Chrome DevTools, Firefox, and anything that can connect with ADB
Real Device Photos • Actual device photos to check how
it looks physically
Manner Mode • Change device manner mode settings
Store Automation • Sign In to Google Play, etc
<in progress>
Realtime Logs • Display Logcat logs • Realtime filtering
Search Devices • Query devices by Maker, OS version, Release
date, and a lot more
Advanced Input • Press hardware keys remotely • Control Power,
Volume, Media and D-pad keys
Hardware Details • Show hardware spec details • Battery health,
temperature, voltage, Carrier, SIM info, Phone Number, Display, Network, OS details
Restart Device • Restart device remotely
Reverse Port Forwarding • Check local development sites and servers
remotely
Remote control even from your iPhone • Control Android from
your own iOS/Android device directly • Supports multitouch up to 10 fingers
Apache 2.0 License https://openstf.github.io 100% Open Source Everything
Creating your own Devices Farm • Buy a USB hub
• Connect your own Android devices
STF Shelf
Installing STF Users will not be required to install anything
Installing (Mac OS X) • Install ADB • Install dependencies
• Install STF brew install node rethinkdb graphicsmagick zeromq protobuf npm install -g stf Included in Android SDK Tools / Android Studio
Running locally • Run RethinkDB • Run STF stf local
rethinkdb
Running on a LAN (the easy way) • Run RethinkDB
• Run STF • Assuming your ip is 192.168.0.1 any other machine will be able to access STF via http://192.168.0.1:7100 stf local —-public-ip 192.168.0.1 rethinkdb
Running on a LAN (the proper way) • https://github.com/openstf/stf/blob/master/doc/ DEPLOYMENT.md
https://openstf.github.io