You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sebb (Bug 52214):
At present, the numeric suffixes generated by Save Responses to a file create file names that do not sort correctly.
This could be fixed by using sufficient leading zeros when generating the number.
However, subsequent test runs would re-use the same numbers, so it might also be useful to append a timestamp (e.g. YYYYMMDD-HHMM) for the start of a run.
So the generated name stem would become:
<prefix><timestamp><fixed width number>.
An alternative scheme to ensure uniqueness and chronological sorting would be to use the result of System.nanoTime(), or System.currentTimeMillis() or an ISO-format timestamp (with milliseconds).
Such timestamps have the advantage that the capture time is encoded in the file name. However the disadvantage is that duplicates are not impossible, and there will be gaps in the numbering scheme.
OS: Windows XP
The text was updated successfully, but these errors were encountered:
Sebb (Bug 52214):
At present, the numeric suffixes generated by Save Responses to a file create file names that do not sort correctly.
This could be fixed by using sufficient leading zeros when generating the number.
However, subsequent test runs would re-use the same numbers, so it might also be useful to append a timestamp (e.g. YYYYMMDD-HHMM) for the start of a run.
So the generated name stem would become:
<prefix><timestamp><fixed width number>.
An alternative scheme to ensure uniqueness and chronological sorting would be to use the result of System.nanoTime(), or System.currentTimeMillis() or an ISO-format timestamp (with milliseconds).
Such timestamps have the advantage that the capture time is encoded in the file name. However the disadvantage is that duplicates are not impossible, and there will be gaps in the numbering scheme.
OS: Windows XP
The text was updated successfully, but these errors were encountered: