Prerequisite: Firefox 68.0.1 gecko driver version 0.21.0 (32 & 64 bits) selenium-server-standalone-3.5.3 testng-6.11
I have a total of 300 test cases. When I execute the test suite using '.xml' the execution count is mismatching.
It is considering/counting all the annotation methods as well (i.e @BeforeMethod & @AfterMethod) and add the sum to the total test cases execution.
I tried different versions of the gecko driver (0.21.0 to 0.24.0)
Expected result: total test case count (i.e 300) Actual result: More than test cases count (506)enter image description here