I have a script that has worked before. After a slight tweak to it it now breaks the first time TestPartner runs through it. It breaks at an earlier part in the code from where I made my changes and it only breaks when TestPartner is first opened and the first time that the script is run.

Has anyone seen this before or know of a fix for this?
Thank you