HP ALM VBScript – Upload the Most Recent File in Folder

Some test artifacts are generated with random names or appended with time-stamps. This makes it difficult to attach the right file to the test run. Below is an example to find the latest screenshot file. REM Upload test screenshot. Set fso = CreateObject("Scripting.FileSystemObject") Set folder = fso.GetFolder(screenshotPath) Set recentFile = Nothing REM Search for the […]