I am having a scenario;Where I have to get the Current Execution Line of QTP at Run Time.
Did you search before posting thread??? http://www.sqaforums.com/showflat.php?Ca...amp;Search=true
The issue what you have listed does not exist, works fine in my machine- stupid comment from the developer
Thanks for your Reply.
Yup;I had search the Forums.
Actually;I would like to "Fetch" the line Number at run time and Display it.
I don't believe it can be done, I've searched before. I bypass QTP results altogether and use a custom logging routine that would be nice to report file/line number in when an error occurs but I have not figured out how to retrieve that information.
You can try this:
Print Setting( "executionline" )