Forum Discussion
SmartBear_Suppo
Alumni
13 years agoHi again!
I see.
Well, as stated before there is no easy way to find out the caller, but maybe you could try setting a TestCase property on Generic with the name of the calling TestCase before you call Generic, and then
read from that variable. However this might cause problems if you run things in parallell as the TestCase properties is not guaranteed to be thread safe either though.
--
Regards
Erik
SmartBear Sweden
I see.
Well, as stated before there is no easy way to find out the caller, but maybe you could try setting a TestCase property on Generic with the name of the calling TestCase before you call Generic, and then
read from that variable. However this might cause problems if you run things in parallell as the TestCase properties is not guaranteed to be thread safe either though.
--
Regards
Erik
SmartBear Sweden