Forum Discussion

nimishbhuta's avatar
Frequent Contributor
7 years ago

How to find the script unit name ?



I want to know how can I find out script unit name that I am using and also need to find out the keyword test name. I have searched around the community blogs but could not find appropriate answer.





10 Replies

  • shankar_r's avatar
    Community Hero

    Your question quite confusing.


    Do you want to know the Script unit name for the function which is being used in a KeywordTests?


    if so, you will be able to find it in Operation column


    If you want to see list of functions created in your project, you can see it here

  • tristaanogre's avatar
    Esteemed Contributor

    If you are looking to find out this information at runtime via code, for keyword tests, there currently isn't a way to say "This is the keyword test I'm currently running".  For script code, you can find out what script routine is calling your current script routine using the "caller" methodology built into JavaScript.