Forum Discussion
Does anyone has a solution in VBscript?
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
- cunderw7 years agoCommunity Hero
Still, if you know what the excel names will be I'm not sure why exactly you need the function name?
You say:
TC01_CreateOrder then I will use the test script as CreateOrder to construct the excel file name. C:\Project\TestData\<testscripname.xls>
Will you have multiple excel sheets for CreateOrder? Are you sharing the CreateOrder function for all of those?
Could you provide a little more detail on your end goal?
Related Content
- 5 years ago
- 5 years ago
- 2 years ago
Recent Discussions
- 13 hours ago
- 2 days ago