Wednesday

AngularJS vs PolymerJS Testing



What is Angular?

Angular is a complete framework for building web apps. It has high-level APIs for things like services, routing, server communication.
Here are some features that Angular offers:

  1. Directives 
  2. Dependency injection
  3. Testing support
  4. Routing
  5. Services
  6. Server communication

What is Polymer?

Polymer is a library for creating Web Components, which are a set of W3C standards and upcoming browser APIs for defining your own custom HTML elements.
Here are some features that Polymer offers:

  1. Declare custom elements
  2. Widgets
  3. Polyfills for new web platform features
  4. Encapsulation for the DOM
  5. Built on emerging web standards

Even though Angular and Polymer aim to do different things, there is currently some overlap. Web components and Angular’s element directives are very similar, and if there’s a comparison to be made it should be between Polymer’s Custom Elements and Angular’s directives.

Summary - Angular, a MVC framework, and Polymer, polyfills and enhancements for custom elements built on top of Web Components, can live harmoniously in the same app.
But from a testing perspective its definitely angular that wins hands down with it's Protractor testing framework for AngularJS 

Monday

Box full of testing mindmaps




Here is the best collection of testing Mind-Maps I have seen :

http://apps.testinsane.com/mindmaps/

Have fun browsing!

Tuesday

Unable to charge the iPad using USB


Now here is a scenario where I am automating applications on an iPad. The iPad is connected to the usb port of a machine which has all other testing devices connected.

Problem: There is a known issue with iPad not charging and if you search forums you will notice the solution that says "Charge via a wall outlet if your computer USB port does not support high power output...most older computers do not have high power USB ports, and some of the new models still lack those ports."

This was not a viable solution as I had multiple users accessing this machine and the test devices had to be plugged into the system round the clock.

Solution: What I finally did and that helped -

ASUS came up with a software to deal specifically with charging issues related to Apple devices. It works by simply increasing the USB port’s power output.
This should work with all motherboards and computers (Windows platform only) as claimed by ASUS.
Step 1: Download the software from here ASUS Ai Charger
Step 2: Unzip the downloaded file “AiCharger_V10006_XpVistaWin7.zip” and run. At the end you will be prompted to restart your computer.
Step 3: Once the computer has been restarted, you should now be able to see the ASUS Ai Charger icon in your bottom-right taskbar.
Happy iOS testing!