On Thu, 25 May 2023 17:47:59 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:
> > It saves the images to _the current directory_. When the test is run by > > jtreg, the current directory is the `scratch` directory. > > For me, the generated screenshot was being saved to the test folder, as I was > running it as standalone test. Which is expected because you were running the test as a standalone test. Whatever the current directory is, the images are put in the current directory. The jtreg framework sets the current directory to `scratch`. ------------- PR Comment: https://git.openjdk.org/jdk/pull/14094#issuecomment-1563602553