node philly

18
Node.ph 2013 @admc Tuesday, April 23, 13

Upload: adam-christian

Post on 15-Jan-2015

2.134 views

Category:

Technology


4 download

DESCRIPTION

Introducing Appium, Node Philly talk.

TRANSCRIPT

Page 1: Node Philly

Node.ph2013

@admcTuesday, April 23, 13

Page 2: Node Philly

Mobile is taking over the world. Where is our mobile automation? Our mobile CI?

Tuesday, April 23, 13

Page 3: Node Philly

Our Challenge

• Automated mobile testing

•Multiple mobile devices

•Web, Hybrid, Native

• Un-touched App (no hooks)

• Hooks are fail!

Tuesday, April 23, 13

Page 4: Node Philly

Our Requirements

• IOS, Android, (Firefox OS?)

• Community, Eco-system

•WebDriver Compat

• Cross Platform

Tuesday, April 23, 13

Page 5: Node Philly

Appium• npm install appium -g

•WebDriver (wd.js) - or any client

•Open (GH, Mailing list)

• Android (+Selendroid), IOS

Tuesday, April 23, 13

Page 6: Node Philly

appium opens the door to cross-platform mobile testing: one test, two mobile platforms

Tuesday, April 23, 13

Page 7: Node Philly

Android

Tuesday, April 23, 13

Page 8: Node Philly

IOS

Thanks Dan Cuellar

Tuesday, April 23, 13

Page 9: Node Philly

Code

Tuesday, April 23, 13

Page 10: Node Philly

appium is the cross-platform solution for native and hybrid mobile automation

Tuesday, April 23, 13

Page 11: Node Philly

DEMO

Tuesday, April 23, 13

Page 12: Node Philly

Quick

• mkdir appium-test && cd appium-test

• npm install appium -g

• npm install wd

• curl -O https://raw.github.com/appium/appium/master/sample-code/examples/node/simplest.js

• appium &

• node simplest.js

Tuesday, April 23, 13

Page 13: Node Philly

Ec·o·sys·tem  "dependencies": { "underscore": "~1.4.3", "colors": "~0.6.0-1", "express": "~3.0.6", "argparse": "~0.1.10", "path": "~0.4.9", "rimraf": "~2.1.1", "uuid-js": "~0.7.4", "temp": "~0.5.0", "winston": "~0.6.2", "request": "~2.12.0", "bplist-parser": "~0.0.4", "bufferpack": "0.0.6", "node-bplist-creator": "~0.0.1", "node-uuid": "~1.4.0", "underscore.string": "~2.3.1", "glob": "~3.1.20", "unzip": "~0.1.1", "ncp": "~0.4.2", "swig": "~0.13.5", "async": "~0.2.6", "mkdirp": "~0.3.5", "binary-cookies": "~0.1.1" }, "scripts": { "test": "grunt travis" }, "devDependencies": { "mocha": "~1.8.1", "should": "~1.2.1", "grunt": "~0.4.0", "grunt-cli": "~0.1.6", "wd": "git://github.com/admc/wd.git", "assert": "~0.4.9", "grunt-mocha-test": "~0.2.0", "difflib": "~0.2.4", "prompt": "~0.2.9", "grunt-contrib-jshint": "~0.1.1", "saucelabs": "~0.0.7", "namp": "~0.2.25" }

Tuesday, April 23, 13

Page 14: Node Philly

Tuesday, April 23, 13

Page 15: Node Philly

Appium.app

Tuesday, April 23, 13

Page 16: Node Philly

Sauce

• Free, OSS Sauce, Travis, Jenkins

• Concurrency ftw.

• Re-launching Mac Cloud

• 167 platform/OS’s

• Find us! Drinkups, Conferences, Meetups

Tuesday, April 23, 13

Page 17: Node Philly

Demo app donated by

appium.iogithub.com/appium/appium@AppiumDevs

Tuesday, April 23, 13

Page 18: Node Philly

Me

•@admc

• github.com/admc

• VP of Dev

• Sauce Labs

Tuesday, April 23, 13