I want to use parameterized tests for TestNG. I have created xml file with parametrs (par.xml). Parametrs are using for method inluded in registration.java.
Is executing only possible by: par.xml -> run as -> TestNG? IF I try to run by class I get error:
org.testng.TestNGException: Parameter 'userEmail' is required by @Test on method testRejestracja but has not been marked @Optional or defined in C:\Users\Sonia\AppData\Local\Temp\testng-eclipse--2102596193\testng-customsuite.xml
Is it possible to avoid test failure? I would like to run all java class to exceute all tests in same time.