Andrew_Shadow
6 years agoNew Contributor
TestNG/Selenium - Configure command line params
Hello!
My project uses a bunch of TestNG +Selenium. I've created custom listener(extends TestListenerAdapter) for improved logging in the project. Listener class name is added to testng.xml. In Ecl...
- 6 years ago
I don't believe that's possible. The command line information is embedded within the tool and not accessible externally.
- 6 years ago
Thanks, tristaanogre
I found solution, for target class should be plased annotaion, likes this:
@Listeners({CustomListener.class})