Archive for

Thread affinity in TestNG

Most of us would have at some point or the other built a Selenium based TestNG test that kind of looks like below: When running this above class with parallel=”methods” we would be expecting that TestNG would run the method a() and c() on the same thread. But TestNG doesn’t do that. It guarantees that … Continue reading