I am writing some scripts and what I would like to do is to report if a function has passed or failed with a reporter.reportevent. I would like to do is to just come up with the function name from the system and not have to hardcode the name in the event as a text string.

I know you can come up with the TestName and other explicit variables from the system. Does anyone know the vbscript command to come up with the name of the function you are currently running? This would really save me some time.