qaf icon indicating copy to clipboard operation
qaf copied to clipboard

QAF 3.1.0 TESTNG tests not running

Open ashoksagi opened this issue 2 years ago • 1 comments

QAF Version 3.1.0

Note: only the latest version is supported

Steps To Reproduce

1. Execute TESTNG tests with QAF 3.1.0 in pom.xml
2. None of the tests are being picked up
3.

Expected behavior

Tests should execute

Actual behavior

None of the tests are being picked up

Is the issue reproducible on runner?

  • [] QAS
  • [X] Maven
  • [ ] Gradle
  • [] Ant
  • [X ] Eclipse

Test case sample

Please, share the test case (as small as possible) which shows the issue I have migrated our framework recently to selenium 4. As part of that updated QAF to 3.1.0 and observed that none of the testng tests are being picked up. When i debugged the code, SuiteRunner args has m_AllTestMethods are coming as blank. When i further debugged identified that the difference between old QAF and new is. Old 3.0.0 is overriding org.Testng.TestRunner but in new one it is missing. Could you let me know how to fix MicrosoftTeams-image (1) MicrosoftTeams-image

ashoksagi avatar Dec 16 '22 21:12 ashoksagi

Please, share the test case (as small as possible without your project specific dependencies) which can reproduce the issue.

cjayswal avatar Jan 11 '23 20:01 cjayswal