Hello sir,
Attached herewith is my code for TestNG Datadriven Framework.
When I run JSONRunner_2 (in the folder\src\test\java\runner\), the cosole shows below output:
Total tests run: 2, Failures: 0, Skips: 2
Configuration Failures: 4, Skips: 2
Nothing is mentioned clearly in this, as what is causing Configuration Failures?
Can you help?
Instructor
Ashish Thakur Replied on 05/01/2022
Configuration failures come when your testng.xml is not OK
You are programatically running testng.xml. This means that your code is failing somewhere to simulate testng.xml