I'm using VisualStudio and Ranorex API. I'd love to be able to record a video. I see that the Ranorex.Core object has a number of settings for this new feature. Is it possible to enable video and set options in code? If so can you provide sample code?

Are you using a test suite at all? I believe this is a test suite setting per where the setting is stored and the code below. Albeit this code does not work within a test suite since the reporting has already started with the setting predefined the TS's xml (Ranorex.Core.Reporting.TestReport.Setup(...)).

As far as I can tell, there is no public API to invoke Ranorex to record the playback during runtime. I recommend creating a feature request here. In the meantime, perhaps you can execute FFmpeg directly to record your automation? FFmpeg.exe can be found here: