Automated Testing for Mozilla’s Firefox OS Using Plivo’s Voice API
The Mozilla team wanted to automate test calls for the Firefox OS but didn’t have the right setup to implement it. Mozilla chose Plivo because it fulfilled all their needs: Plivo’s Voice API seamlessly integrated into their existing test automation setup and was robust enough to control calls and collect call data. With this new setup, Mozilla was able to breeze through development of their automated testing suite for Firefox OS and continue to push the envelop in open source software.
We use Plivo for our automated testing suite for Firefox OS. Plivo APIs are very easy to develop on and have proven to be very reliable. Plivo met all of our requirements: ability to control the call, monitor that call live, and retrieve call details after the call is complete.
How Mozilla Automates Testing its New Adaptive Operating System, Firefox OS, using Plivo’s APIs.
Mozilla needed an automated solution to initiate, monitor, and log call details for their Firefox OS testing suite. However, placing an automated call from one phone to another was not feasible with their current setup. Therefore, Mozilla needed an API solution that was flexible enough to work with their current testing setup, but also robust enough so that they can control the call 100% of the time, monitor the call live, and retrieve call details after the call was completed. Reliability was also a key factor in order to help isolate operating system issues and speed up the development process.
Plivo Proves to be the Easiest and Most Reliable Solution
After several considerations, the Mozilla team found Plivo to be the best solution that integrated easily with their automation driver and mobile endpoints. With Plivo, the Mozilla team was also able to control the call, monitor that call live, and retrieve call details after the call is complete. Plivo's voice API also proved to be easy to setup and test calls reliably. Using Marionette, Mozilla’s automation driver to simulate user input, and Plivo’s voice APIs to initiate calls, Mozilla was able to breeze through development of their automated testing suite for Firefox OS.
We’ve been running our tests several times per day in automation and it is working very well. We are continuing to build out our automated testing suite for Firefox OS and use Plivo for testing calls. I can see there being lots of other opportunities to use Plivo in the future too.