Morgan
11 years agoFrequent Contributor
checking to see which script is running
I'm sure this is easy but I can't figure it out... what do I use to look for which script routine is running? Like "If x is the script being run then do y..."
Thanks!
Morgan
Thanks!
Morgan
- If you use Test Items for running your tests, you can use TestItems.Current.Name property. You can find usage example here
http://support.smartbear.com/viewarticle/56316/
However, if you want to get the name of the current function, it will be more challenging :)