qaf icon indicating copy to clipboard operation
qaf copied to clipboard

Need to disable QAFTestNG listeners.

Open SwapnilMore123 opened this issue 6 years ago • 1 comments

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

SwapnilMore123 avatar Jun 29 '18 09:06 SwapnilMore123

In that case you should use plain TestNG without QAF.

cjayswal avatar Jul 05 '18 18:07 cjayswal