Hello Vince,
Pinging this thread to count my rating too. |
I have increased the rating of the corresponding suggestion. Thank you.
I'd also like to see an easier way to write to the log the current routine. |
Unfortunately, TestComplete does not allow getting the name of the currently executed script routine. However, we have an appropriate suggestion in our database as well, and your request has increased its rating. Thank you.
Also, if you are using JScript, C++Script or C#Script in your tests, you can use the following workaround:
function TestFunction()
{
Log.Message(getCallerName());
}
function getCallerName()
{
return getCallerName.caller.toString().match(/function (\w*)/)[1];
}
Thank you for your interest in our product. Good luck.