Total Pageviews

Wednesday 10 September 2014

How To record the Test Execution as a video

Topic: How to record the Test Execution as a .mov file

steps: we just have to add 3 lines of code for

1. Setting up a recorder

2. Starting the recorder

3. Stopping the recorder


code:

ATUTestRecorder recorder = new ATUTestRecorder("Directory","filename",false);

recorder.start();

WebDriver browser = new FirefoxDriver();

browser.navigate().to("http://www.w3schools.com/ajax/ajax_database.asp");

browser.manage().window().maximize();

browser.quit();

recorder.stop();





Precondition:    Import the .JAR file and add to Eclipse

download link: https://drive.google.com/folderview?id=0B7rZvkq9tkwPUHRXNU8wQjRYVDA&usp=sharing&tid=0B7rZvkq9tkwPRy1HLVJCdWtNekE
procedure:
Right click on project -- Build Path -- >  configure Build Path ---- > Libraries  -----> Click on "Add external jars " --- > select ATUTestrecorder.jar fille -----> click on "ok"


HAPPY RECORDING......





1 comment:

  1. If possible to change the file format from mov to mp4?

    ReplyDelete