Forum Discussion
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.
Hello Robert,
Thanks for your response.
Can you let me know how can I do this with VBScript?
Regards,
Nimish
- tristaanogre7 years agoEsteemed Contributor
I'm not familiar enough with VB script to answer that.
What's your use case/purpose for needing that information?
- nimishbhuta7 years agoFrequent Contributor
Hello Robert,
My use case is to use the script name to construct the test data path of excel sheet. For ex: I create a test script as such TC01_CreateOrder then I will use the test script as CreateOrder to construct the excel file name. C:\Project\TestData\<testscripname.xls>
Regards,
Nimish
- nimishbhuta7 years agoFrequent Contributor
Does anyone has a solution in VBscript?
Related Content
- 7 years ago
- 6 years ago
- 5 years ago
Recent Discussions
- 3 days ago