Micro Focus QTP (UFT) Forums
Get the function name calling the function - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Get the function name calling the function (/Thread-Get-the-function-name-calling-the-function)



Get the function name calling the function - Shridevi.Salagare - 07-29-2013

Hi,
I want to know if there is any way we can get the name of function calling the current function ?
e.g. If Function a is calling function b,can during run time inside function b we get the calling function name i.e. a


RE: Get the function name calling the function - jacosta - 09-07-2013

Hi,

you could use flags and start generating a log of traceability as it moves across or whether it is also a function knowing only use a flag in each function and return its value and so you'd know which function is running.