• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
linda russel
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



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
Pie
Posts: 50171
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We do not have access to the ScreenRecorder class, so how on earth should we know?
 
linda russel
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
linda russel
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have downloaded the ScreenRecorder.jar from the below link

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



 
Rob Spoor
Sheriff
Pie
Posts: 20659
64
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
linda russel
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am struggling to pass the Format class parameters. could you show some sample values which i can pass?
 
Rob Spoor
Sheriff
Pie
Posts: 20659
64
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not really, I haven't used that library before.
 
linda russel
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please can anyone help me with this?
 
Noirita Bera
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to integrate video recording with selenium tests, but can I integrate this with Maven? Please help
 
dennis deems
Ranch Hand
Posts: 808
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, I resolved it.
 
dennis deems
Ranch Hand
Posts: 808
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic