Dear Cédric!
I have tried this, but this does not seem to be thread safe either :(
If I am having the same test-method running but in different threads,
they still seem to share the same ITestContext :(
The additional problem is that afterMethod runs in a different thread
so I cant even use the ThreadID to much stuff back together :(
THX 4 the support!
MaC
On 22 Jan., 07:29, Cédric Beust ♔ <
ced...@beust.com> wrote:
> Declare an ITestContext in your method and use setAttribute/getAttribute.
>
> Doc here<
http://testng.org/doc/documentation-main.html#native-dependency-injec...>
> .