TESTAR_dev icon indicating copy to clipboard operation
TESTAR_dev copied to clipboard

Maximum Path Length Limitation affects TESTAR output files

Open ferpasri opened this issue 2 years ago • 0 comments

Windows Documentation

https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation

Windows Issue

Windows truncates the name of TESTAR output files when TESTAR is executed in a system location with an ApplicationName and ApplicationVersion value settings that exceed the limit of 260 characters.

Original Screenshot name visualized in the output folder

C:\Users\Username\Documents\GitHub\TESTAR_dev\testar\target\install\testar\bin\output\2023-06-23_09h04m32s_desktop_calculator_random_action_selector_1.0.0\scrshots\2023-06-23_09h04m32s_desktop_calculator_random_action_selector_1.0.0_sequence_1\SCC6h0xwk3ec1456764826.png

image

Truncated Screenshot name inspected with Windows properties

C:\Users\Username\Documents\GitHub\TESTAR~1\testar\target\install\testar\bin\output\2023-0~1.0\scrshots\2023-0~1.0_S\SCC6h0xwk3ec1456764826.png

image

Effect caused by this truncation

The HTML report of TESTAR expects to find the complete file path name without truncations, which provokes the screenshot not to be visualized.

image

ferpasri avatar Jun 23 '23 07:06 ferpasri