public void LogVideo() { if ((Config.settings.reportSettings.videoRecordingOnError) && testData.recorder != null && testData.recorder.Video != null) { var path = Log.Video(testData.recorder.Video); TestBase.testData.VideoPath = path; } }