I Just wanted to know, that how we can take a series of screenshots / a video recording for a screen using Selenium 2 / Web Driver with JAVA ?
Please provide the answer or the lick where I can get an idea about it ?
Both Saucelabs and TestingBot provide a service which records your Selenium tests if you run them against their Selenium Grid. Both offer a number of free minutes per month, which might suffice your needs. You can view/download the video's straight after the test run is finished.
Although I don't know how their setup works, I think I can give you some idea's how to create something similar in your local environment.
For this you will need some infrastructure (servers) and some scripts to tie everything together, but its certainly not undoable.
Here is the method I use to take screenshots using webdriver:
As for video recording never used it. I hope it helps.