vstest icon indicating copy to clipboard operation
vstest copied to clipboard

Additional Settings for Video Data Collector

Open tomaustin700 opened this issue 5 years ago • 4 comments

Description

I am wanting to use the video data collector when running ui tests on Azure DevOps Server. After trialing this I am struggling to find any way to configure the data collector. Ideally I want to be able to reduce the quality of the videos as we have close to 2000 tests that run nightly, my testing has shown a 1min test produces a 2mb wmv file and a lot of our tests take upwards of 5 mins to run. Without being able to reduce the quality and the filesize it would be uploading a huge amount of data into Azure DevOps Server which is not ideal. Is there any advanced configuration or documentation for the video data collector?

Currently the only documentation I can find regarding the data collector is here. Which looks like this:

<DataCollectionRunSettings>
    <DataCollectors>
      <DataCollector uri="datacollector://microsoft/VideoRecorder/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorder.VideoRecorderDataCollector, Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorder, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="Screen and Voice Recorder">
        <!--Video data collector was introduced in Visual Studio 2017 version 15.5 -->
      </DataCollector>
    </DataCollectors>
  </DataCollectionRunSettings>

It would be good if I could specify a directory (ideally a unc path) where the video files are stored and also stop it uploading the file. Being able to name the video file would be useful also (ideally using the test name).

Thanks

tomaustin700 avatar Mar 15 '19 09:03 tomaustin700

@tomaustin700 you can get the required nodes by creating a testsettings file in VS and adding the screen and voice recorder and double clicking on it:

once done you can copy them over to your runsettings file

image

It would be good if I could specify a directory (ideally a unc path) where the video files are stored and also stop it uploading the file. Being able to name the video file would be useful also (ideally using the test name).

This I'm afraid is not supported. There is no support to disable upload.

ShreyasRmsft avatar Mar 19 '19 08:03 ShreyasRmsft

@ShreyasRmsft Thanks for getting back to me, can an option to disable upload and save to a directory be added? If you have thousands of tests (as we do) then a huge amount of data would be uploaded to the database.

tomaustin700 avatar Mar 19 '19 09:03 tomaustin700

@PBoraMSFT to take a look at the feature ask.

ShreyasRmsft avatar Apr 08 '19 08:04 ShreyasRmsft

I also search the web for the settings and failed. Maybe the documentation could be updated reporting all the possible settings.

Hilarius86 avatar Jun 07 '19 16:06 Hilarius86

Closing this issue since video data collector is a legacy tool and enhancing it is not a team priority.

cvpoienaru avatar Oct 12 '23 15:10 cvpoienaru