02-18-2011, 02:40 AM
Ah. Best advice I can give for those situations is to create a log file and put a log entry every 10 or so lines. At least that way you can narrow it down to a few lines of code based on the last log entry. You can use the Reporter.ReportEvent command, but I don't know if QTP shows the results for you when the test stops. if it does, use that event to make "log" entries to see what executed last. Otherwise, use the FSO to create a text file on the hard drive and write log events to it.