qaf
qaf copied to clipboard
Need to disable QAFTestNG listeners.
QAF Version
Note: only the latest version is supported Currently In my project I have used both @Test and(from testng) and @QAFTestStep annotation and I have separate maven profiles to run them. While running the @Test(from testng) methods I see QAFListeners are also getting invoked. Can you please suggest how to disable them for @Test test methods.
Steps To Reproduce
1.Create testng @Test method in QAF project
2.Configure the same in testng.xml and Run the maven project as Maven Test
3.Observe in console that QAFListeners are getting executed
Expected behavior
QAFListeners should not invoke while running the @Test method
Actual behavior
QAFListeners are getting invoked
Is the issue reproducible on runner?
Maven
Test case sample
Please, share the test case (as small as possible) which shows the issue
In that case you should use plain TestNG without QAF.