Monday, 21 November 2011

Mozilla's Web API - on testing a framework.

So, hello again to you all.  It's been ages since I last posted at this space - but for good reason:  I've taken my performance show on the road again, and, at the same time, begun my work at Mozilla.  I find myself, once again, in the happy place of doing, on a daily basis, two different things that I love.

Primarily, my work has been around our Web API, and how we will write -and eventually automate - tests against it.  But how will we do this?

Our API is intended to "expand what the web can do".   One of the most important implications is the ability to access - in a secure fashion - our device hardware from the web.  To that end, there are such things as Vibrator API, Battery API, Settings API, Accelerometer and Sensor API, a new and improved Geolocation API, Sound API....from which we can work our device directly from the web!

So, how does one test a bunch of APIs as a user would use them?    Well, one thing (and I've been involved with such an effort before) is to build an Application Framework - essentially a series of mock-up and atomic apps that each demonstrate a single API.  

Over time, these atomic apps will be folded into more feature rich ones - to demonstrate the capabilities and (hopefully - we're QA after all) reveal any bugs that mixing and matching these APIs will uncover.

Another aspect that is important - particularly where automation is concerned - is a way of getting "golden values".   We will build a series of simple native applications for each OS that will help us to obtain these values for comparison.

Watch this space -  in the (very near) future we will demonstrate how many of the web apis work; how we will build HTML/JS test pages around them and test many of the features as a user would use them; build our golden apps in java and/or python (depending on our target platform), and, eventually, work the lot into an automation framework.   All of the code will be freely available on github.

I'm hoping for many outcomes; one of them being that you will learn (if you don't know already) how any of the technologies depicted here actually work, but also that you might jump in and help out - when the time is ready - by expanding what we've started here and our web api testpages, enriching our automation core apps, and really putting those apis through the paces, at their intended purpose.

Stay tuned!

28 comments:

  1. very nice thanks for sharing

    hey friend see snow on google
    Type “Let It Snow” on @Google If you click and drag you can wipe the snow away. It is great.

    ReplyDelete
  2. you are inspiring us by writing such a nice articles have a good information and ideas sharing,nice post.
    source: www.wbupdates.com

    ReplyDelete
  3. Super-Duper blog! M loving it!! And Will be come back shortly to study some New. M bookmarking your feeds also…..

    ReplyDelete
  4. Great work! I like this post and I feel very happy to read this article...
    I am very thankful to share this post.. I hope you have more information about this post.. So, Please share me.. Thanks..
    more info:- Mozilla Firefox Support

    ReplyDelete
  5. When writing code for the Web with JavaScript, there are a great many APIs available. Below is a list of all the interfaces (that is, types of objects) that you may be able to use while developing your Web app or site.

    ValueCoders is a leading IT outsourcing company in India providing dedicated android developer and wordpress developer.

    ReplyDelete
  6. Thanks great article I really like your article you can also visit mobile app development company in india Thanks

    ReplyDelete
  7. Hi there, I discovered your blog by means of Google at the same time as looking for a related subject, your website came up, it appears good. I’ve bookmarked it in my google bookmarks.

    Yoga Teacher Training in Rishikesh

    ReplyDelete
  8. Hi John Hammink,
    I have read the post. In terms of your Mozilla Web Api testing issue, you can find the solution with perfect scenario and factors. It needs some changes in the code. You can discover web development services that will resolve it.

    ReplyDelete

  9. I have always known about this stuff but after reading your blog, it still gives me a lot to learn. There are things I’m not aware of before but now I am aware.
    Thanks for posting such helpful article on website design.
    best website development company in jaipur


    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Thanks for sharing your information. I appreciate your efforts and I will be waiting for your further write ups thanks once again. And My Company Website: www.concettolabs.com

    Concetto Labs, Chicago based company established in 2014. Concetto Labs is a leading solution provider for Cross Platform / Hybrid Mobile App development.

    ReplyDelete
  12. Thanks for sharing your information. I appreciate your efforts and I will be waiting for your further write ups thanks once again. And My Company Website: www.concettolabs.com

    Concetto Labs, Chicago based company established in 2014. Concetto Labs is a leading solution provider for Cross Platform / Hybrid Mobile App development.

    ReplyDelete
  13. It's such great & valuable information regarding hire android developer. waiting for another valuable information to be shared from you.

    ReplyDelete
  14. Altorum Leren, a leading IT, Services Company, specializes in Software Application Development, Cloud Computing, UX/UI, Full Stack Development, IoT, Artificial Intelligence, Blockchain, DevOps, Front End Web Development, Back End Web Development, Mobile App Development and more. https://www.altorumleren.com/

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. Hi! There's the article about Supply Chain Risk Management Solutions To Run Your Business Globally Maybe it will be useful for you! Learn more about modern possibilities in supply chain risk management software implementation.

    ReplyDelete
  17. Nice blog..! I really loved reading through this article. Thanks for sharing such an amazing post with us and keep blogging.

    ReplyDelete
  18. Very infromative article, serious content no waste nice peace of work.

    ReplyDelete
  19. Quite intresting blog it gives an instructive information on the subject.Good work

    ReplyDelete
  20. This is an informative post. Got a lot of info and details from here. Thank you for sharing this and looking forward to reading more of your post.
    online food delivery app development

    ReplyDelete
  21. Thanks for sharing your information. and you provide very Useful Content. any kind of information visit Iqra Technology.

    ReplyDelete
  22. API is important for any application. Every developer cannot do this. So you have to see for local hire android developer . It is necessary, you can tell them what you want to develop a mobile app

    ReplyDelete
  23. Thanks for sharing this article with us. I am looking for reasons online to update my website and I found my answer over https://attractgroup.com/blog/top-10-reasons-to-update-your-website/ here I found the top 10 reasons. When I was searching for it on google search, I found link to your post as well. I would love to hear more from you.

    ReplyDelete
  24. Mozilla's Web API je komplexný rámec, ktorý poskytuje vývojárom mocné nástroje na tvorbu webových aplikácií. Testovanie tohto rámca zahŕňa zabezpečenie bezproblémového integrovania rozhraní API do architektúry aplikácie, hodnotenie funkčnosti v rôznych prehliadačoch a overovanie výkonu s cieľom poskytnúť robustný užívateľský zážitok. S dôrazom na kompatibilitu a spoľahlivosť je dôkladné testovanie Mozilla's Web API nevyhnutné pre dodanie vysokokvalitných webových riešení.

    ReplyDelete