SAP Knowledge Base Article - Preview

3587085 - Error "The given path's format is not supported" while executing a test case - Tricentis

Symptom

When executing a test case you are receiving this type of error

 " System.NotSupportedException: The given path's format is not supported.
   at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at Tricentis.Common.Helpers.ScreenCapture.SaveScreenFlowImage(String directory, String basicFileName, ScreenshotFormat format, Int32 screenFlowTick, Bitmap screenshot)
   at Tricentis.Automation.Engines.Monitoring.ScreenFlowTaskExecutor.SaveScreenFlowSceen(Bitmap screenShot, ITestAction testAction, Boolean isBeforeTestStep, String deviceName)
   at Tricentis.Automation.Engines.Monitoring.ScreenFlowTaskExecutor.PreExecution(IRepresentation context, ITestAction testAction)"

OR

"System.NotSupportedException: The given path's format is not supported.
   at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at Tricentis.Common.Helpers.ScreenCapture.SaveScreenShot(String directory, String basicFileName, ScreenshotFormat format, Bitmap screenshot)
   at Tricentis.Automation.Engines.Monitoring.ScreenShotTaskExecutor.MakeScreenShot(IVerificationValue name, ExecutionResult result)
   at Tricentis.Automation.Engines.Monitoring.ScreenShotTaskExecutor.PostExecution(ITestAction testAction, ExecutionResult result)"


Read more...

Environment

SAP Enterprise Continuous Testing by Tricentis

Product

SAP Enterprise Continuous Testing by Tricentis all versions

Keywords

TOSCA, docusnapper, screenflow , KBA , XX-PART-TRI-ECT , SAP Enterprise Continuous Testing by Tricentis , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.