Forum Discussion
Thanks for your detailed reply. I want to read the content of PDFs and compare them with baseline files but I do not want to use File Checkpoints. I have figured out that part but only need to figure out reading random name of PDFs. I was thinking about it and so far what I have done is when developers generate report, they automatically open them so I will Save as file and give it a name I want and then read them.
I will see how it goes along the road.
Again thank you !
Hi khus,
what about deleting all files from the directory prior to starting the test? Then, you should only find your newly generated report in that directory.
Greetings,
vat
- khushbupatel9 years agoOccasional Contributor
Yes that should work but they do not want me to delete files after they are generated for the final build execution during the project, they want to keep them for records or in case for troubleshooting.
Khushbu
- Colin_McCrae9 years agoCommunity Hero
You can get all the files in a directory and then check their creation date?
Assuming you'll be wanting the most recently created version ...