Automating Firefox OS

1,149 views

Published on

By Malini Das

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,149
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Automating Firefox OS

  1. 1. AUTOMATING FIREFOXOSONE SOLUTION TO RULE THEM ALL - By Malini Das
  2. 2. WHAT? Browser-driven phoneAll apps (dialer, camera, etc.) are HTML5 & JS Control the whole device with JS!
  3. 3. NEAT! Now how do we test it? Lots of new problems...No existing test frameworks... We need a new solution
  4. 4. REQUIREMENTS Has to support existing frameworks Has to support future frameworks Must have full control of the device Easy to useBonus points: Run in any Gecko environment This means Desktop Firefox, Mobile Firefox...
  5. 5. IDEA!Just open up a privileged server socket! Hmm, too unwieldy
  6. 6. IDEA V2.0 Privileged WebDriver! We call this Marionette Runs in content and privileged spaceProvides necessary piping for current and future frameworks Familiar to testers ...and... It can work in any Gecko environment!
  7. 7. LOVELY. WHY SHOULD I CARE?One Selenium test, many environments for free! Eventual Mobile Firefox support Faster than Selenium add-on Gives you a way to test a FirefoxOS app
  8. 8. LEMME SEE, LEMME SEE!
  9. 9. HOW DO I GET IT? Debug Desktop Firefox builds -ftp://ftp.mozilla.org/pub/firefox/ Desktop version of FirefoxOS - ftp://ftp.mozilla.org/pub/b2g/Build it into FirefoxOS from sourceMobile Firefox support is coming!
  10. 10. QUESTIONS? More info - Marionette More info -Build your own FirefoxOS (aka B2G) emulator or phone image! Use a proxy - Selenium proxy to talk to Marionette (under development) FYI, if you just want to play around, I recommend pulling down Desktop FirefoxOS . It has marionette built-in, and emulates the phone resolution/environment on your desktop!

×