1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00
Android remote access
Find a file
2015-04-23 14:45:10 +09:00
bin Apparently Linux doesn't allow multiple arguments in shebang. Removing --harmony flag as it's currently unused anyway, and switching to Promise.longStackTraces(). 2014-01-30 13:52:10 +09:00
buildpack Attempt to work around npm/npm#5400. 2014-08-05 17:38:58 +09:00
doc Separate websocket to its own role. Necessary because the app was getting pretty big already, but mostly because our Windows PCs don't like to connect to websockets on port 80, which is what we use for the app. 2014-06-06 15:02:29 +09:00
lib Rotate canvas image on client side when necessary. Minicap now always returns the image in upright position for newer devices. 2015-04-23 14:45:10 +09:00
res Rotate canvas image on client side when necessary. Minicap now always returns the image in upright position for newer devices. 2015-04-23 14:45:10 +09:00
test Gesturestart had an off by one error in the control sequence. 2014-09-16 10:51:46 +09:00
vendor Rotate canvas image on client side when necessary. Minicap now always returns the image in upright position for newer devices. 2015-04-23 14:45:10 +09:00
.editorconfig Minimal start with a custom logger and device tracker. 2014-01-07 10:55:41 +09:00
.gitignore - Refactored device button states so they can be tested. 2014-08-27 21:44:19 +09:00
.jscsrc Added JSCS style checking. 2014-09-09 16:28:00 +09:00
.jshintrc Add a separate .jshintrc for client-side code. 2014-05-13 16:10:56 +09:00
.npmignore Add prepublish script. 2014-09-10 20:38:50 +09:00
.npmrc Add mostly working custom node and bower buildpacks. 2014-07-30 16:54:52 +09:00
.yo-rc.json Adding brand new generator-stf 2014-03-18 21:31:01 +09:00
bower.json Updated most dependencies. 2015-03-17 21:16:26 +09:00
Dockerfile Add stf bin dir to PATH. 2014-08-05 13:50:02 +09:00
gulpfile.js Dependencies updated. 2014-10-16 15:09:40 +09:00
README.md Updated README. 2015-03-09 21:24:55 +09:00
webpack.config.js Updated lot's of dependencies. 2015-01-21 15:53:09 +09:00

STF

=== STF (Smartphone Test Farm) is a service for remotely debugging real smartphone devices from the comfort of your browser.

Features

  • Support Android devices from 2.3 to 5.0
  • Fast device screen transfer
  • Remote mouse and keyboard input
  • Multitouch support
  • Browse to URL
  • Auto-detect installed browsers
  • Realtime logging and filtering
  • Copy and Paste text
  • APK Upload by drag & drop
  • Screen rotation
  • Search devices on your own devices farm
  • See who is using which device
  • Execute shell commands directly
  • Remote debug for native and web apps
  • Chrome remote debug tools
  • Automated Play Store user input
  • Reverse port forwarding for development
  • Device hardware specific information

Getting started

  • brew install rethinkdb
  • Make internal npm work
  • brew install protobuf
  • brew install zmq
  • npm install -g bower
  • npm install
  • bower install
  • npm link

Requirements

  • NodeJS
  • Bower
  • RethinkDB

Run

  • rethinkdb
  • stf local

Update

  • git pull
  • npm install
  • bower install

Tests

Unit Frontend

  • brew install phantomjs
  • gulp karma

E2E Frontend

On first run

  • gulp webdriver-update

Chrome Local STF

  • Connect a device
  • Run stf
  • gulp protractor

Multiple Browsers Local STF with a specific suite

  • Connect a device
  • Run stf
  • gulp protractor --multi --suite devices

Chrome Remote STF

  • export STF_URL='http://stf-url/#!/'
  • export STF_USERNAME='user'
  • export STF_PASSWORD='pass'
  • gulp protractor

Contributing

License

Main repository

Small repositories

Documentation

Copyright © CyberAgent, Inc. All Rights Reserved.