wood burning stoves 2.0*
The moose likes Java in General and the fly likes problem Recording Screencast of Selenium Tests using java ScreenRecorder jar API's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "problem Recording Screencast of Selenium Tests using java ScreenRecorder jar API Watch "problem Recording Screencast of Selenium Tests using java ScreenRecorder jar API New topic
Author

problem Recording Screencast of Selenium Tests using java ScreenRecorder jar API's

linda russel
Ranch Hand

Joined: Jan 05, 2012
Posts: 86



i always get a error since i am not able to pass "ENCODING_BLACK_CURSOR" variable in the constructor. what is the alternative i can pass?

i am trying to record my automation tests using webdriver
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38044
    
  22
We do not have access to the ScreenRecorder class, so how on earth should we know?
linda russel
Ranch Hand

Joined: Jan 05, 2012
Posts: 86
linda russel
Ranch Hand

Joined: Jan 05, 2012
Posts: 86
i have downloaded the ScreenRecorder.jar from the below link

http://www.randelshofer.ch/monte/



Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

The Javadoc on that site indicates that ScreenRecorder has two constructors. One takes only a GraphicsConfiguration object, the other a GraphicsConfiguration object and four org.monte.media.Format objects. That doesn't match the constructor you're trying to call.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
linda russel
Ranch Hand

Joined: Jan 05, 2012
Posts: 86
i am struggling to pass the Format class parameters. could you show some sample values which i can pass?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

Not really, I haven't used that library before.
linda russel
Ranch Hand

Joined: Jan 05, 2012
Posts: 86
please can anyone help me with this?
Noirita Bera
Greenhorn

Joined: Jul 02, 2012
Posts: 18
I am able to integrate video recording with selenium tests, but can I integrate this with Maven? Please help


Noirita Bera
----------------------------
|OCAJP7|
Keep learning -- cheers
dennis deems
Ranch Hand

Joined: Mar 12, 2011
Posts: 808
Noirita Bera wrote:I am able to integrate video recording with selenium tests, but can I integrate this with Maven? Please help

I haven't used it, but this http://mojo.codehaus.org/selenium-maven-plugin/ looks promising.
Noirita Bera
Greenhorn

Joined: Jul 02, 2012
Posts: 18
Thanks, I resolved it.
dennis deems
Ranch Hand

Joined: Mar 12, 2011
Posts: 808
Noirita Bera wrote:Thanks, I resolved it.

Could you share your solution? In the future, others with a similar problem might be reading this thread.
Noirita Bera
Greenhorn

Joined: Jul 02, 2012
Posts: 18
This is a useful link for screen recording
http://unmesh.me/2012/01/13/recording-screencast-of-selenium-tests-in-java/

For maven integration -
You have to upload ScreenRecorder jar in to maven repository and modify the pom accordingly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem Recording Screencast of Selenium Tests using java ScreenRecorder jar API's
 
Similar Threads
OO design question?
ant junit
Planning and designing methods
Unused Jars
hibernate/Code Coverage(Emma plugin)