Forum Discussion
I'm not familiar enough with VB script to answer that.
What's your use case/purpose for needing that information?
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?
- cunderw7 years agoCommunity Hero
I'm not super familiar with VBScript but I don't think this is something that you can do.
If you're associating a known excel sheet with a known function / sub though, why do you need this? Just store the you need excel path in your function / sub. Unless I am missing something from your explanation.
- nimishbhuta7 years agoFrequent Contributor
Hello,
My excel sheet names are based on the test case name, so it should be dynamically pick the excel file name and construct the data path.
Regards,
Nimish
Related Content
- 6 years ago
- 5 years ago
- 6 years ago