Configuration Failures: 1, Skips: 0

4,702 views
Skip to first unread message

Jesus

unread,
May 5, 2017, 7:53:10 PM5/5/17
to testng-users
Hi all, 

When I execute a testng class at the end console log I have this:


===============================================
    Test
    Tests run: 2, Failures: 0, Skips: 0
===============================================


===============================================
Suite
Total tests run: 2, Failures: 0, Skips: 0
Configuration Failures: 1, Skips: 0
===============================================

My testng.xml 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Suite" verbose="3">
  <test name="Test">
    <classes>
      <class name="MyClass"/>
    </classes>
  </test> <!-- Test -->
</suite> <!-- Suite -->


Enviroment:

Eclipse Neon 3,GeckoDriver 16.1, Selenium WebDriver 3.4 and TestNG.

All test cases were suscessfully executed and without warnings script code.

Some one can tell me what is the problem please?

Thanks in advance.


Krishnan Mahadevan

unread,
May 10, 2017, 1:04:57 AM5/10/17
to testng...@googlegroups.com

Hard to say without seeing the test code.

Have you looked at the emailable-report.html file in your test-output folder (if executing from within an IDE) or in target/surefire-reports if executing via Maven.

 

That should give you insights on what is failing in your configuration methods!

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

Andrew Tverdokhleb

unread,
Oct 4, 2018, 6:27:55 AM10/4/18
to testng-users

I had the same problem and then I found out that a mistake was in @aftertest method.

shailender g

unread,
Oct 4, 2018, 6:42:16 AM10/4/18
to testng...@googlegroups.com
This could be a prob with any conf method. Methids starting with Before/after 

Reply all
Reply to author
Forward
0 new messages