Issue: Creating session files in the temp folder and we are running out of disk space
Solution 1: Use the “Bash command” to remove the folder after the test has been executed successfully without any Error/Exit code from KRE.
Solution 2: Create the test script as the “post-condition”/ or test listeners to remove the folder after the test has been executed.
Solution 3: Create a batch file to delete all temp folders.
For Window:
-
Open Notepad
-
Input this script in Notepad (no Enter, keep a straight line)
cd %localappdata%\Temp & for /D %%f in (session-*) do rmdir /S /Q "%%f"
-
Save it as a file name with "….. .bat" and Type is All Files
-
Double click on the file and check if the “session-*” folders have been deleted or not.
-
If it's still there, please click on the file many times until the CMD window opens with an empty content > Copy and paste the script in the CMD then check back “session-*” folders.
Comments
0 comments
Please sign in to leave a comment.