Automatic cross-language screenshots/progress

Project title: Automatic cross-language screenshots

Goals for first half
The first half of the project aims to accomplish the following goals -
 * Creating a hooks which can take cropped screenshots for Visual Editor documentation, so that only task remaining will be writing browser tests for getting exact screenshots.

Communication plan

 * Meeting twice a week(Monday and Thursday) in Skype/Google Hangout to report my status of the project.
 * If anything needs to be communicated, then google chat(with mentor)/IRC/mail(in QA mailing list) is used.

Lessons learnt since April 21st

 * Learned to setup environment for running browser tests in local machine.
 * Had a pair programming with Zeljko, where he reviewed my code and taught me how to use jenkins.
 * Learned the work flow to solve Bug and submit patch: Bug #62152
 * Learned to write browser test and wrote one for preference Gadgets: Bug #58900

Week 1: May 19 to May 25

 * After hook to take Screenshots.
 * Cropping elements with respect to a scenario.
 * Working for English and German beta labs.
 * Screenshot is named according to the scenario.

Week 2: May 26 to June 2

 * Moved the After hook from wikimedia-selenium to mediawiki-extensions-VisualEditor.
 * Made tests pass, which were failing because of cross-language.
 * Tried running it for all language beta-labs and found that it works for Simple English and Hebrew, others have problems with their VisualEditor.
 * Checked if code is run by others and whether it works.

Week 3: June 2 to June 8

 * Made a bot using Mediawiki Api(Ruby) to upload into Wikimedia Commons and release new versions of it.
 * Made a jenkins job to make it run on my Cloudbees, which runs cucumber for various languages and uploads it to Wikimedia Commons.