we have set up a process using REF-Framework and there we also use to invoke the TakeScreenshot.xaml.
I checked whether we have filled in both arguments correctly. Now we got in the logfiles this entry:
"Screenshot saved at: V:\aaaa\bbbbb\cccc\ExceptionScreenshots\ExceptionScreenshot_190417.022238.png " so we are shure that it works.
A few minutes later the same xaml is invoked again in the same way and now the result is “Save screenshot: Save image failed. Check if the file name is a valid path”. Is it possible that the taken screenshot image is nothing/empty? How can I check that?