TestNG: Retry works when xml is run from eclipse, does not work when xml is run from command line TestNG: Retry works when xml is run from eclipse, does not work when xml is run from command line selenium selenium

TestNG: Retry works when xml is run from eclipse, does not work when xml is run from command line


I found the solution. The testng jar file that eclipse was running was quite a bit newer than the testng jar file that the command line environment was using. It was using the testng jar file in the selenium path. I updated that jar and it works perfectly...