org.testng.TestNGException: org.xml.sax.SAXParseException; lineNumber: 5; columnNumber: 8; Element type "test" must be followed by either attribute specifications, ">" or "/>".
This is the error I am getting while executing a XML file for testNG.
Here is the code that I used:
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name = "TestNG">
<test = "Testing TestNG">
<classes>
<class name = "testNG.AnnotationsDemo"/>
</classes>
</test>
</suite>
Can someone help?