Author | Message |
---|---|
jrupal16
Posts: 3
|
Posted 00:29 Jan 31, 2016 |
Hello Prof, org.testng.TestNGException: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 5; Content is not allowed in prolog. How to solve this error? Below i have also attached the screenshot
|
cysun
Posts: 2935
|
Posted 09:31 Jan 31, 2016 |
My guess is that you are using a testng.xml test suite file and it has some syntax errors. For this project you don't really need a test suit file - in Eclipse you can right click a test class and select Run As TestNG Test, or on command line you can do "mvn test". If you want to use a test suite file, see the one in CSNS2 for the correct format. |