Forum Discussion
10 Replies
- tristaanogreEsteemed 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.
- Marsha_RModerator
The closest I got for the keyword tests is to push the keyword test name to the indicator at the top of every test and do a pop afterwards. This does a pretty good job of showing what test is running. I made it part of our template, but if you forget one, it'll be pretty obvious.
- nimishbhutaFrequent Contributor
Hello Robert,
Thanks for your response.
Can you let me know how can I do this with VBScript?
Regards,
Nimish
- tristaanogreEsteemed Contributor
I'm not familiar enough with VB script to answer that.
What's your use case/purpose for needing that information?
Related Content
- 6 years ago
- 5 years ago
- 5 years ago