chrisb
10 years agoRegular Contributor
You can do it in Javascript like this...
ProjectSuite.Variables.currentTestName = arguments.callee.toString().match(/function ([^\(]+)/)[1];
See http://stackoverflow.com/questions/280389/how-do-you-find-out-the-caller-function-in-javascript
Related Content
- 10 years ago
- 7 years ago
- 9 years ago