"[TestNG] No tests found. Nothing was run" message

176 Views Asked by At

Last week I was running this script and it was running fine.

![enter image description here

After a week when I again ran it, it throws [TestNG] No tests found.

Nothing was run as in the picture below

enter image description here

So why is this happening? Any Solution for solving this problem?

1

There are 1 best solutions below

0
On

I have to degrade TestNG version to 6.10, after that it is running.