Why is the "Configuration Failures" shown in console? | Selenium Forum
P
Pravin V. Kumbhare Posted on 28/12/2021

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?

 


A
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