Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Offline website testing

Manan
December 13, 2013

Offline website testing

with Raman Kansal
Offline websites are not just needed where internet connectivity is not consistent. These lightweight client side storage websites are also useful in SmartPhone world, people can cache the data & work offline & sync the data with servers whenever they want. This talk will help to understand the need, latest technologies available & different challenges faced while testing such websites. Apart from technologies like localstorage, appcache, indexedDB etc we will also talk about how to plan your automation & manual testing.

Manan

December 13, 2013
Tweet

More Decks by Manan

Other Decks in Programming

Transcript

  1. Asia Europe Africa North America Latin America Australia 0 17.5

    35 52.5 70 ~ 28% ~ 64% ~ 16% ~ 80% ~ 43% ~ 68% % of population % of internet penetration
  2. “Simply put, it’s a way for web pages to store

    named key/value pairs locally, within the client web browser.” ! ! - diveintohtml5.info _
  3. IndexedDB “IndexedDB is an API for client-side storage of significant

    amounts of structured data and for high performance searches on this data using indexes.” ! - developer.mozilla.org _
  4. ApplicationCache “Developers can use the Application Cache (AppCache) interface to

    specify resources that the browser should cache and make available to offline users” ! - developer.mozilla.org _
  5. Gotchas • Any changes made to the appcache file will

    cause the browser to update the entire application cache." • If any of the files mentioned in the CACHE section can't be retrieved, the entire cache will be disregarded." • Regardless of whether you include the address of the current page in the configuration, it will be cached.
  6. Challenges • How to automate indexedDB?" • How to switch

    off network in between running automation script?" • Inform exact point of failure" • CI integration" • Which browser to choose for automation testing?