*Thread Reply:* When you run it; about how long does it run til it breaks? @Ahsan
*Thread Reply:* its a random break time for the files, no set number is iterated
*Thread Reply:* Gotcha. I am running as we speak and I am waiting for that "break" but haven't seen it yet; that is why I asked. But when it does I will investigate it some more
*Thread Reply:* @Ahsan let me know if this one works better. I added where it also gives us an excel file output to easier see if it is false or true; also I adjusted it where "checkfileexists" function is being called once for each file and stored in variables which then are used in the subsequent if condition and logging.
*Thread Reply:* Here is an example output @Ahsan I believe this should be all their clients?
*Thread Reply:* File error: File not found or not a file: C:\Users\Ahsan\Documents\Work Code\API Integration\API Testing\B & G ELG\B&G\11206311 - Laurier Dubreuil\11206311 - PlaintiffMEDICAL AUTHORIZATION - Facility Medical Release FormChandler Regional Medical Center - Facility Medical Release Form - Wet Signed_1563723.pdf
*Thread Reply:* Yeah when I ran it I got the same amount of clients and did not break. Here is the slightly adjusted code of it for print statements and here is the output I got second time around
*Thread Reply:* I have to clock out in a few minutes but I can help you more tomorrow if this doesn't solve it. If there is supposed to be only 575 pdf files pulled then that means it worked from my end; but if there are more than those then that means it didn't pull all of them
*Thread Reply:* Here is the output I get when I run it thru VS
*Thread Reply:* I am pretty sure it is a memory and runn lenght issue causing the random fail due to the size of the directory
Hey team. I brought bagels; if you want to grab one they are at the table next by me (The table with the magazines)