Export to HTML with a long path name
Hello,
I have test with many child tests like this:
test/
├── childtest/
├── childtest1/
├── childtest1a/
├── childtest1a-i/
├── childtest1a-i-1/
├── childtest1a-i-1-a/
├── childtest1a-i-1-a-x/
└── childtest1a-i-1-a-x-final
and so on.
Now I have a problem when I start the tests with SessionCreator using ExportLog parameter, exception "Path too long" will be raised.
I already tried enabling long path support in Windows 11, but that did not solve the problem.
Has anyone else experienced a similar issue? Is there a solution that would allow me to keep my current test structure without changing the tests?
TIA,
Stanko
I've never come across this issue before, nor have I seen anyone else mention it on the forum.
Your folder structure, while valid, is outdated and overkill for human use. It's too deeply nested and overly verbose, which creates several issues:
- Hard to navigate: Drilling down 8+ levels just to reach something is inefficient.
- Fragile paths: Long paths are tedious to type, easy to break, and can hit system limits.
- Low readability: Names like childtest1a-i-1-a-x-final don't convey meaning - they just encode hierarchy.
- Maintenance pain: Refactoring or moving things later becomes cumbersome.
Aim for a better folder structure with:
- A shallow hierarchy (ideally 3 - 5 levels max)
- Meaningful names (based on purpose, not position)
- Logical grouping (by feature, type, or domain)