[
https://issues.jboss.org/browse/JBIDE-12434?page=com.atlassian.jira.plugi...
]
Vlado Pakan edited comment on JBIDE-12434 at 8/22/12 8:01 AM:
--------------------------------------------------------------
1. Added class
[
ScreenRecorderExt.java|https://svn.jboss.org/repos/jbosstools/trunk/tests...].
This class realize screen cast recording and license info for Monte Media Library which is
used.
2. Added Monte Media Library license to plugin
[
about.html|https://svn.jboss.org/repos/jbosstools/trunk/tests/plugins/org...]
3. Added Monte Library license to root directory of containing plugin
[
monte-library-license.html|https://svn.jboss.org/repos/jbosstools/trunk/t...]
Usage:
{noformat}
screenRecorderExt = new ScreenRecorderExt();
screenRecorderExt.start(fileName);
...
screenRecorderExt.stop();
{noformat}
*Implementation for SWTBot tests*
For SWTBot tests is screencasting fully implemented. Once enabled via setting system
property swt.bot.test.record.screencast=true all tests from test run are saved together
with requirements processing.
For each test class of test run one video file is saved with name of the test class.
Recorded files are saved in the screencasts directory at the same location where SWTBot
tests are creating screenshots directory.
Implementing class is
[
RequirementAwareSuite.java|https://svn.jboss.org/repos/jbosstools/trunk/t...]
Important methods:
{noformat}
private static void startScreenRecorder(String className)
private static void stopScreenRecorder()
protected Statement withBeforeClasses(Statement statement)
public void run(RunNotifier notifier)
{noformat}
was (Author: vpakan):
1. Added class
[
ScreenRecorderExt.java|https://svn.jboss.org/repos/jbosstools/trunk/tests...].
This class realize screen cast recording and license info for Monte Media Library which is
used.
2. Added Monte Media Library license to plugin
[
about.html|https://svn.jboss.org/repos/jbosstools/trunk/tests/plugins/org...]
3. Added Monte Library license to root directory of containing plugin
[
monte-library-license.html|https://svn.jboss.org/repos/jbosstools/trunk/t...]
Usage:
{noformat}
screenRecorderExt = new ScreenRecorderExt();
screenRecorderExt.start(fileName);
...
screenRecorderExt.stop();
{noformat}
*Implementation for SWTBot tests*
For SWTBot tests is screencasting fully implemented. Once enabled via setting system
property swt.bot.test.record.screencast=true all tests from test run are saved together
with requirements processing.
For each test class of test run one video file is saved. Recorded files are saved in the
screencasts directory at the same location where SWTBot tests are creating screenshots
directory.
Implementing class is
[
RequirementAwareSuite.java|https://svn.jboss.org/repos/jbosstools/trunk/t...]
Important methods:
{noformat}
private static void startScreenRecorder(String className)
private static void stopScreenRecorder()
protected Statement withBeforeClasses(Statement statement)
public void run(RunNotifier notifier)
{noformat}
Add screencasting functionality to tests
----------------------------------------
Key: JBIDE-12434
URL:
https://issues.jboss.org/browse/JBIDE-12434
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: testing
Reporter: Vlado Pakan
Assignee: Vlado Pakan
Add possibility to save screen cast of test being run.
Implementation:
1. Add class ScreencastRecorder.java to
http://svn.jboss.org/repos/jbosstools/trunk/tests/plugins/org.jboss.tools...
with methods start(String pathToVideoFile) and stop()
2. Add monte library .jar file to resource directory of org.jboss.tools.tests plugin
3. Add proper license info regarding to using of monte library to plugin
org.jboss.tools.tests and source code of ScreencastRecorder.java
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira