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......
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......
If possible to change the file format from mov to mp4?
ReplyDelete