We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
What I did back before we had the CurrentTestCase name available was build my own stack. At the top of every test, have a variable that contains the name of the test and push that to the indicator. Pop it off at the end of the test so that when you have tests calling other tests or functions, the name will be accurate as the flow changes.
What I did back before we had the CurrentTestCase name available was build my own stack. At the top of every test, have a variable that contains the name of the test and push that to the indicator. Pop it off at the end of the test so that when you have tests calling other tests or functions, the name will be accurate as the flow changes.
Thanks for the advice!
I came to the same solution.
As a test, I also built it into some tests and it works flawlessly.
I wanted to save the work of having to write the name of the test in each case. If you could add this from a variable, you could edit that about 360 pieces of source code very quickly.